Getting a "certificate is not trusted" error for iOS Distribution Certificate

To support an older version of an iOS app, I needed to install Mojave with Xcode 9.

I create a CSR and from there generate an iOS Distribution certificate online, which I download and double click to install in Keychain. However, when viewing in Keychain, it shows in red "iPhone Distribution: CompanyName certificate is not trusted".

I'm not sure what I'm doing wrong as I follow the instructions to the T and have done this in the past with success.

NOTE: I tried this with Sierra as well and got the same issue. It only seems to work on Catalina, which doesn't help me because I need an older version of Xcode.
  • thanks man - this ate my brains for 3 hours to figure out

Add a Comment

Replies

Agreed this helped fix the issue

Hello Patel Bhai, How are you doing? I have registered brand new paid apple dev. account and I keep getting Revoke for each device. Revoke certificate

Your account already has a signing certificate for this machine but it is not present in your keychain. To create a new one, you must first revoke the existing certificate.

I opened trouble ticket to Apple three weeks and keep running me around without any help.

When I checked Keychain in Login and My Certificate is Valid and in Green color.

If anyone having this issues then please respond and help me.

Thank you kindly, Jason

Great, thank you SO MUCH and a hefty FU to Apple for making this whole process as painful as possible!

Thank you. It worked

Thank you Patel, you saved my day!

Thank you

I needed the G4 certificate from here. Maybe because it’s a year later from when the above solution was posted?

In any case this is pretty messy.