Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get private key for iPhone developer certificate?

This may be very silly question but i can't find answer. I have just received provisioning profile and developer certificate from my customer, but i can't use it. Xcode organiser says Valid signing identity not found about this profile. I assume this is because the certificate i've received doesn't contain private key. So the question is where do i take that key? Should i ask the customer for it? But i think he may answer: "It's my private key and i cannot share it with you because it's private". So what should id do? Where to get it?

like image 680
Andrey Chernukha Avatar asked Aug 20 '13 07:08

Andrey Chernukha


People also ask

How do I get my certificate private key?

On Windows servers, the OS manages your certificate files for you in a hidden folder, but you can retrieve the private key by exporting a “. pfx” file that contains the certificate(s) and private key. Open Microsoft Management Console (MMC). In the Console Root expand Certificates (Local Computer).

How do I share a private key for iOS distribution certificate?

Create a certificate signing request Choose Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority. In the Certificate Assistant dialog, enter an email address in the User Email Address field. In the Common Name field, enter a name for the key (for example, Sarunw Dist Key).


2 Answers

Ask your customer to provide the Private Key they might have used to create the Certificate and then the Profile was created, see image below from where to get the private key -> KeyChain

enter image description here

like image 126
iphonic Avatar answered Sep 28 '22 12:09

iphonic


You definitely need the private key to sign your application. The person who create the certificate would have to export the certificate from the keychain (including the private key part) and give it to you.

Of course, a better solution would be if you could be added to the team and request your own certificate. But this is only possible for a company account and not if you signed up as an individual developer.

like image 26
Kevin Avatar answered Sep 28 '22 11:09

Kevin