Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple keychain private/public key issue

I accidentally deleted the private and public key pair of my certificate, but I can't find anything helpful to undo or add those to my certificate again.

Actually the developement certificate has expired, so i redownloaded the new one. Than I wanted to add the private/public key to my new certificate. And there it happend, i deleted it.

How can I get these and set them to my actual certificate again.

like image 789
NicTesla Avatar asked Jul 15 '11 13:07

NicTesla


People also ask

Why is my Apple keychain not working?

On your iPhone, iPad, or iPod touch with iOS 10 or later iOS 14 or later: Go to Settings > Passwords > AutoFill Passwords. Check that AutoFill Passwords is turned on. iOS 12 or 13: Go to Settings > Passwords & Accounts > Website & App Passwords. Check that AutoFill Passwords is turned on.

What is a public key on Apple keychain?

The public key is another password, but one that you can tell everybody about.) Rather than barging into Keychain without notice, Mail is asking permission.

How do I get my Apple private key?

The private key is created automatically when you create the certificate signing request as described by the linked to guide. The private key is stored on your local computer, and can be found in the Keychain program.


1 Answers

I had this issue two days ago.

Open Keychain Access

What you have to do is make backups of all your certificates and then go and delete all the private and public keys and certificates on your machine relevant to apple.

Then in Keychain Access click on Keychain Access(Menu Bar) and in the menu select Certificate Assistant -> Request a certificate from a certificate authority.

Enter your details and make sure Saved to disk and Let me specify key chain pair is selected.

Save it.

On the next screen: These values must be:

Key Size: 2048 bits

Algorithm: RSA

You then need to log into the Provisioning Portal on apple's website and revoke all certificates there.

Then click distribution and say Add Certificate and select the file you created earlier.

You can then request all certificates again. Re-download all certificates, once you start opening the downloaded certificates your new key pair and certificate will be in Keychain Access.

If you have any questions check out http://developer.apple.com/ios/manage/distribution/index.action

like image 65
Armand Avatar answered Sep 19 '22 13:09

Armand