Unable to import Enterprise Distribution certificate

Hi All,


I have difficulties to export my enterprise distribution certificate from macbook A to macbook B.

From macbook A, my certificate does not have the drop down icon on the right, showing the private key. Hence I just right click on the certificate and export it. Then I transfer the .cer file to macbook B and open it. No error shown but the certificate also does not show up in my keychain.


When I try to package the apps in xcode, it shows that the ditribution certificate private key is not installed. I've tried to "Export apple ID and code signing assets" from macbook A and then import in macbook B, but still getting the same error.


Any clue how to solve this? Thanks in advance.

Replies

Did you try:

1. Open Kyechain Acces

2. Choose login keychain

3. Choose Certificates category

4. File > Import Items

5. Select cer file

6. Click Open

I tried this steps, no error shown and it seems like completed successfully. However the certificate is not showing in keychain.

I restarted my macbook and now it appears in my keychain. Hence, please do restart your macbook after importing any cert.

recreate CSR from new computer