(OS X)Unable to Export .p12 on Keychain
Asked Answered
R

3

7

Issues were encountered After creating both a Development SSL Certificate, as well as a Production SSL Certificate. In case you're struggling with the procedure, I found this link to be quite helpful:

How to export certificate from Mac OS X to get pair of .cert and .key files ?

The screen shows instructions for creating a Certificate Signing Request (CSR). I Selected "Continue", then selected "Choose File..." and located the .certSigningRequest.

Selected "Generate". Once the certificate was ready, I selected "Done" and then downloaded the generated SSL certificate from the "iOS App ID Settings" screen.

Follow this link as it is pertaining to the bottleneck at hand: https://www.parse.com/tutorials/ios-push-notifications

You must Double click on the downloaded SSL certificate to install it. Using Keychain Access, click right under "My Certificates", then you must find the certificate you just added.

Right-click on it, select "Export Apple Development IOS Push Services:...", and save it as a .p12 file. The problem is, I don't have the option to export to .p12 as it is grayed out.

How should I proceed?

Rung answered 16/10, 2015 at 6:14 Comment(1)
if you select the certificate rather than only the key, the option should be available. – Nubbly
P
2

Open your Keychain Access and make sure your certificate is listed under login keychains (left side), then you should be able to see the export to a .p12 file option. If that does not work for you, possibly your certificate is created incorrectly. Try to generate another one.

Printable answered 16/10, 2015 at 10:4 Comment(0)
C
46

Turns out all you have to do is select "My Certificates" on the left panel and it enables the .p12 option.

Churchman answered 2/2, 2017 at 4:47 Comment(3)
This should be the preferred answer. – Doughman
Good answer, does not work for every type of certificate though – Disposure
"My Certificates" is along the top in 2023. Clicking that first, then clicking the cert to export enables the p12 option. FML πŸ€¦πŸ»β€β™‚οΈ makes no sense, lol, but works. – Storms
B
3

2021 answer

What worked for me was to open KeyChain Access, under My Certificates tab, select both files, right clic, export 2 items, and the option was available.

enter image description here

enter image description here

Bradski answered 5/8, 2021 at 14:39 Comment(1)
Awsome. This the correct answer for 2022. Thank you very much. – Duumvir
P
2

Open your Keychain Access and make sure your certificate is listed under login keychains (left side), then you should be able to see the export to a .p12 file option. If that does not work for you, possibly your certificate is created incorrectly. Try to generate another one.

Printable answered 16/10, 2015 at 10:4 Comment(0)

© 2022 - 2024 β€” McMap. All rights reserved.