{"id":21,"date":"2013-06-18T11:52:28","date_gmt":"2013-06-18T11:52:28","guid":{"rendered":"http:\/\/www.josejavierfm.es\/blog\/?p=21"},"modified":"2015-06-18T12:00:48","modified_gmt":"2015-06-18T12:00:48","slug":"generar-certificado-apns","status":"publish","type":"post","link":"https:\/\/www.josejavierfm.es\/blog\/2013\/06\/18\/generar-certificado-apns\/","title":{"rendered":"Generar certificado APNS"},"content":{"rendered":"<p>To generate a certificate on a Mac OS X:<br \/>\nLog-in to the iPhone Developer Program Portal<br \/>\nChoose App IDs from the menu on the right (or click here)<br \/>\nCreate an App ID without a wildcard. For example 3L223ZX9Y3.com.armiento.test<br \/>\nClick the Configure link next to this App ID and then click on the button to start the wizard to generate a new Development Push SSL Certificate (Apple Documentation: Creating the SSL Certificate and Keys)<br \/>\nDownload this certificate and double click on aps_developer_identity.cer to import it into your Keychain<br \/>\nLaunch Keychain Assistant (located in Application, Utilities or search for it with Spotlight) and click on My Certificates on the left<br \/>\nExpand Apple Development Push Services and select Apple Development Push Services AND your private key (just under Apple Development Push Services)<br \/>\nRight-click and choose \u00abExport 2 elements&#8230;\u00bb and save as server_certificates_bundle_sandbox.p12 (don&#8217;t type a password).<br \/>\nOpen Terminal and change directory to location used to save server_certificates_bundle_sandbox.p12 and convert the PKCS12 certificate bundle into PEM format using this command (press enter when asked for Import Password):<br \/>\nopenssl pkcs12 -in server_certificates_bundle_sandbox.p12 -out server_certificates_bundle_sandbox.pem -nodes -clcerts<\/p>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=josejavierfm\" class=\"twitter-share-button\">Twittear<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>To generate a certificate on a Mac OS X: Log-in to the iPhone Developer Program Portal Choose App IDs from the menu on the right (or click here) Create an App ID without a wildcard. For example 3L223ZX9Y3.com.armiento.test Click the Configure link next to this App ID and then click on the button to start [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/posts\/21"}],"collection":[{"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":1,"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.josejavierfm.es\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}