Copy link to clipboard
Copied
Hey, I've created my distrubtion certificate but when I try to publish my app with it, I get an error about a password, there was nowhere for me to set a password on it and I don't for the life of me know what it could be. Ive tried my iOS developers password, my mac's keychain password and my development certificate password (that was created in OpenSSL). Also when trying to locate the certificate to put it into the box the certificate is grayed out and i have to manually type the address of the file.
Thanks
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hey, thanks for the swift reply.
I've tried this and followed all the steps but I as I am uploading its giving me an error:
The digital certificate is invalid.
Could not retreive certificate chain from Keystore.
I am exporting just the private key in my keychain, is that correct?
I had the WWDR file and my iOS Distribution file in my keychain.
Thanks alot ^^
EDIT: After a few hours of repeating these steps I finally realised what Kglad meant by expanding the iPhone Distrubtion Certificate by going to the left and clicking certificates, expanding it and then exporting that private key, thanks again.
Copy link to clipboard
Copied
Yes you must use the roll down and export that into the .p12.
You initially mentioned using openssl to generate the certificate. Just to clarify 2 things.
1, you must have generated a CSR with OpenSSL to submit to the iOS dev portals certificate request. You user a key that you generated using OpenSSL. Once you upload that CSR and your certificate is approved you get your .cer file (one distribution, one development). Here's that process explained by Adobe:
http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-8000.html
You must keep the key handy. Now say you grab the distribution .cer file. At that point there's a couple steps to turn it into a .p12. You need to convert the .cer file into a .pem file. Using that PEM file and your key file you create the .p12 that requires you to enter the password. That password is required when exporting.
Here's an Adobe article on converting the .cer into a .p12 using OpenSSL:
http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html
I myself have an iMac and I originally used it to generate the CSR then the p12 (it does it automatically now in Xcode). However there's a problem.
2, The thing you should know is you cannot regenerate a new certificate on a different machine. This is important to know because if you don't have access to the same Mac or only have different Windows machines around you (my scenario) and you need to generate a new .cer (because you made a new app) then you're out of luck.
For that reason I no longer use Keychain and the above process, I stick strictly to OpenSSL. By doing that I don't require any specific computer to be around to regenerate certs. Just by understanding how to easily make my certs in OpenSSL I'm no longer chained to any one machine.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more