Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OSX Keychain Access-Generate CSR from existing Private Key for APNS (Apple Push Notification Service)

When you need to create a new certificate for APNS, the Provisioning Portal "wizard" always gives the steps to create a new CSR which means you need to create a new public/private key as well. These can start to get out of control, so is there a way to create a CSR (Code Signing Request) in Keychain Access from an existing Private Key instead of having to create a new one every time?

Thanks

like image 407
jsherk Avatar asked Sep 13 '12 22:09

jsherk


1 Answers

When you go into Provisioning Profile to Enable/Configure Push Notifications, the first thing it asks for is a CSR (Code Signing Certificate).

You can generate this with an existing private key from Keychain Access instead of creating a new one.

Just open keychain access and then scroll thru and find a previous PRIVATE KEY (probably called YOUR NAME) and then right-click (two finger click) on it and choose Request A Certificate From A Certificate Authority With "bla bla bla".

I just enter the same email address in both User Email Address and CA Email Address, and choose Saved To Disk.

Then upload that to create your .cer files

like image 51
jsherk Avatar answered Oct 13 '22 12:10

jsherk