We've tried multiple times to create a new Distribution Certificate and export the private (p12) key. However, installing the .cer into the keychain does not create a Private Key, and we don't know why.
The steps we've followed:
1) Create CertificateSigningRequest.certSigningRequest through KeychainAccess -> Certificate Assistant -> Request Cert from Cert Authority and specifying Account Holder as the requester email address
2) Sign in to developer.apple.com as Account Holder and create new iOS Distribution Key with the signing request
3) Download the certificate (.cert) file and install it into Keychain Access
4) Try to export p12 key, but that option is greyed out because the new cert does not include a Private Key.
We've tried deleting all distribution keys in the keychain and repeating steps 1-4, but that hasn't worked. We aren't sure what we're doing wrong.
Any help would be much appreciated.
We solved the issue. We repeated step 1-4 from the original post; in step 1 we specified one of our Admin's as the requester, and signed in to the admin's developer.apple.com account to create the certificate.
We're glad this worked and we finally have our p12 key, but we still want to know why it didn't work with the account holder's details. According to our understanding the account holder should have been able to create a distribution key and Private Key pair.