Why are there no keys attached to my certificates I made with my CRS in Apple Developer?

  • 1
  • Question
  • Updated 4 years ago
I don't understand why are their no keys attached to my certificates I made with my CRS in Apple Developer? Also, sometimes when there are, their parked read instead of saying, "This certificate is valid", is says, "This certificate was signed by an unknown authority". So, it being the only one I have that has a key attacked to it, I export it, upload it to Phonegab, then it says, "Certificate doesn't match profile: The default keychain doesn't have an identity matching", when yet, I did everything correctly to my knowledge in Developer. What the heck is going on?! Please help me fix?. Thank you!!!!!
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
  • frustrated

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
So you have a certificate. Did you create a .p12 for it, then upload p12 and mobileprovision to PGB in order to create a Signing Key for iOS builds?
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
I guess. But every video I've watched already has a key attached to the certificate when they create a .p12 file.
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
I've uploaded the .p12 file to PGB and profisioning profile millions of times and that the error I receieve. There is no "keys" attached to any of my certificates and I dont know why. I think that might have to do with it.
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
what is your app id?
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
com.vurlux.vurlux
Photo of ryan

ryan, Developer

  • 1538 Posts
  • 132 Reply Likes
The fact that your certificate name isn't prefixed with "iPhone Developer" suggests you went wrong somewhere creating your signing key. I'd suggest going through the steps again:

1. Create CSR
- Keychain Access --> Certificate Assistant --> Request a Certificate from a Certificate Authority
- User email address may need to be that of your Apple dev account
- Request is: Saved to disk

2. Upload CSR
- Apple Developer Center --> Certificates --> Add
- Select iOS App Development
- The instructions on creating your CSR from above will be detailed further here
- Upload the CSR as requested

3. Import new certificate from Apple to your Keychain:
- Once the certificate has been approved, you can download it from the dev center certificates.
- Double click on the certificate file -- this should import it into the Keychain
- Open Keychain Access, and you should now see "iPhone Developer", including a private key

4. Export the key as a p12 file (Keychain Access -> Right click -> Export).

Addition: You'll also now need to recreate your mobileprovision file in the dev center including your new certificate. Then upload the p12 and mobileprovision to PGB.
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
I see. I will try again and let you know! Thank you!
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
It didn't work.
Photo of Brett

Brett, OFFICIAL REP

  • 547 Posts
  • 54 Reply Likes
you cant have a self signed private key
Photo of Dalton McGhee

Dalton McGhee

  • 7 Posts
  • 0 Reply Likes
Okay, so I got it to work but, I thought you can't use "developer" certificates when submitting the IPA file? Or am I wrong?