Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting issue in keychain: iPhone Distribution Certificate is not trusted

I'm working on iOS enterprise application, now our iOS distribution certificate is expired and I'm creating new certificate using below steps:

  1. Create certificate sigining request from keychain access.
  2. Login with developer.apple.com and generate distribution certificate using certificate sigining request.
  3. download new iOS distribution certificate and install.

After this I'm able to see iOS Distribution certificate in keychain access but getting error: "iPhone Distribution certificate is not trusted".

enter image description here

Also, I have tried it using Automatically manage signing, and tried to export ipa file, but I'm getting below error:

enter image description here

Please help me to resolve this errors.

like image 939
Prashant Chaudhari Avatar asked Oct 05 '20 05:10

Prashant Chaudhari


People also ask

How do I fix certificate not trusted on iPhone?

If you want to turn on SSL trust for that certificate, go to Settings > General > About > Certificate Trust Settings. Under "Enable full trust for root certificates," turn on trust for the certificate.

How do I update my Apple distribution certificate?

Distribution Certificates Must Be Renewed Periodically To continue distribution, navigate to the Devices organizer in Xcode. Select the expired profile and click Renew Profile in the red bar at the top. This will renew your expired certificate and add it to the provisioning profile.

How do I trust a certificate on my Mac keychain?

In the Keychain Access app on your Mac, select a keychain from one of the keychains lists, then double-click a certificate. Next to Trust, click the arrow to display the trust policies for the certificate. To override the trust policies, choose new trust settings from the pop-up menus.


2 Answers

Just download the certificate from here and install it. If that doesn't works have a look on https://developer.apple.com/de/support/expiration/.

like image 175
BharathRao Avatar answered Oct 05 '22 22:10

BharathRao


https://developer.apple.com/de/support/expiration/ should be the answer. Just install the certificate manually or upgrade to Xcode 11.4.1 or later. After upgrading to Xcode >= 11.4.1 I had to open a Xcode project and had to wait few seconds. Afterwards the new Apple Worldwide Developer Relations Intermediate Certificate automatically has been installed.

like image 28
Lukas Stickel Avatar answered Oct 05 '22 23:10

Lukas Stickel