Solution: cocould not retrieve certificate chain from keystore; that is, how to export your iOS developer certificate from Mac

Source: Internet
Author: User
Tags key string

Thank you! kid_ikarios

Of course, maybe he never knows that someone wants to thank him.

 

After a long time of hard work, various searches could not find the results. Adobe official Article (because I developed it using flash builder:

Http://help.adobe.com/zh_CN/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html

I cannot understand it.

 

I installed mac on a virtual machine, and then applied for the certificate (because I felt that it was more reliable to install a virtual machine than OpenSSL on Windows ).

Search for the certificate application online.

 

And then from:

Https://developer.apple.com/account/ios/certificate/certificateList.action? Type = Development

Download your certificate (Name: ios_development.cer)

 

Next (copy from Adobe, but what he said, I can't understand it at all. I added a picture ):

1. Open the key string to access the application (in the application/utility folder ).

2. If you have not added the certificate to the key string, select File> Import ". Then browse the Certificate file (ios_development.cer file) You obtained from Apple ).

3. Select a key category for key string access.

This step is important, otherwise it will report: cocould not retrieve certificate chain from keystore

You must first click the key under "type" in the lower left, so that there is a small arrow in front of the "dedicated key" (used to Windows, this secret setting is really pitfall !), I used to see the small arrow in my article, but I haven't seen it yet. Now I finally saw it.

4. Select the private key associated with the iPhone development certificate.

(Step 3)

5. Select "file"> "Export Project ".

6. Save your key in. p12 format.

(Actually only. p12 can be used.) Well, you have p12.

7. The system will prompt you to create a password required to try to import the key on another computer.

You will be asked to enter the password twice and your Mac login password. OK.

 

 

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.