Convert developer certificate to P12 file

I am trying to convert a developer certificate to a P12 file as a description here using a mac virtual machine .... but when converting

The personal information file format (.p12) is disabled, what should I do

+7
ios certificate
source share
3 answers

The .p12 option is disabled because you selected only the private key or certificate on your computer. To create a .p12 file, you need both.

Steps to create a .p12 file:

  • Launch the Access Keychain Access app on your Mac.
  • Select a keychain to enter the upper left panel
  • Select "My Certificates" in the "Category" menu in the left pane.
  • Find your developer / distributor certificate for your iPhone. DO NOT choose iPhone Developer / Distribution: My company
  • Expand this element, and inside you will see a private key.
  • Select BOTH key and certificate (hold CMD and click both items)
  • Right-click and select Export Two Elements ...
  • Save your key in the format of a personal information file (.p12) and call the file "Certificates.p12"
  • You will be prompted to create a password that will be used when you try to import this key on another computer.
  • Enter your password and save
+30
source share

How did you get the certificate on your computer?

You:

a) download it from the iOS certification portal b) Send a certificate request from the same computer and go through the process to download it from the iOS certificate portal

Note that option B means that you have a private key associated with it because it was requested from the same computer. If you make option A, then the private key is not located on this computer

If you are trying to transfer your certificate and private key from one computer to another, the easiest way to do this is to use the Keychain Access program, exporting the certificate / key to * .p12 format for transfer.

If you open Keychain Access and find your developer certificate, click the arrow on it and make sure that an auxiliary key is associated with it.

If so, right-click the certificate and select Export.

If not, then you need to do this from the source computer on which the certificate was requested in order to enable the private key.

0
source share

In the Access Keychain application, I moved the installed certification from the system folder to the login folder (in the upper left corner), then p12 export was turned on.

0
source share

All Articles