Can't find private key for Apple Development Push Services

后端 未结 13 1033
忘了有多久
忘了有多久 2021-01-31 01:23

I\'ve consulted many sources out there and still can\'t figure this out.

http://code.google.com/p/apns-php/wiki/CertificateCreation

Basically after I download th

13条回答
  •  隐瞒了意图╮
    2021-01-31 02:07

    Yet another answer to this...

    After you create your CSR, before actually uploading it to the Apple site, you can go look within Keychain Access under the logins -> keys and see that you already have new public and private keys with the same name as you entered in your new CSR's CommonName.

    So when you upload the CSR to the Apple, then download the certificate, then double-click the certificate, Keychain access is just matching up that downloaded certificate with the public key that was already in your Keychain Access list and it attaches the private key.

    So if you are not able to get the private key after all of this, try recreate your CSR.

    The strange thing to me is that, I had read that you could use the same CSR each time you recreate your certificate, but for some reason that is not working for me. Perhaps because the old expired certificate that I was replacing was no longer in my Keychain Access list and so therefore there was no public/private key pair that matched the newly generated certificate.

提交回复
热议问题