Suhas Gosavi
Suhas Gosavi

Reputation: 2180

I lost my p12 certificate file of iOS how should i get that?

I made the IOS app using PhoneGap Build its working fine.. but now i wanted to release an update for my previous application on apple store. I have provisioning profile certificate which i can get from apple developer account easily which is being used before for my previous application. but my pc get formatted after that i lost my all keys which is in keychain acess. How should i get that p12 file which is associated with my provisioning profile now. which is needed to build the app and to update on apple store. plz help mi out from this..

Upvotes: 2

Views: 3798

Answers (2)

ViJay Avhad
ViJay Avhad

Reputation: 2700

You have to create new distribution certificates and provisioning profile

Go to developer portal, Revoke your current distribution certificate (whose p12/private key lost) It won't affect existing live app, Now wait a few seconds and refresh the page and you should see a button "Request Certificate". You'll have to follow the Certificate Signing Request instructions again and upload the .csr file. Create new certificate & download it and install in your Keychain Access app on your Mac. Export the .p12 from Keychain. Your Private key is ready.

Now, delete the existing distribution provisioning profile with old certs, You'll have to create a new provisioning profile for the App, using the new certificate.

Uplaod the new p12 and distribution provisioning profile to phonegap console. Create IPA and Submit to iTunesConnect. It worked for me, It will work for sure.

Upvotes: 0

rckoenes
rckoenes

Reputation: 69499

You can't. If you lost your private key (part of the p12) you will need to create a profile certificate.

Upvotes: 5

Related Questions