70

Keychain shows all the certificates as Invalid in my keychain suddenly, as it working before 2 days and i also check in Developer portal and it shows valid there. It marks each and every certificate in Keychain as "This certificate has invalid issuer" . As message suggesting that it must be problem from issuer side and and our issuer is Apple. So how to fix it ?

This certificate has an invalid issuer

Here i posting image of keychain. I need quick help.

enter image description here

technerd
  • 14,144
  • 10
  • 61
  • 92

1 Answers1

178

In Keychain access, -> View -> Show Expired Certificates, then in your login keychain click on expired certificate and delete it. I also had the same expired certificate in my System keychain, so I deleted it from there too.

-> After deleting the expired cert from the login and System keychains,download certificate from below link and open with keychain.

Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer and add it to Keychain access > certificates (which expires on 2023)

Milan Babuškov
  • 59,775
  • 49
  • 126
  • 179
Uma Madhavi
  • 4,851
  • 5
  • 38
  • 73
  • 17
    I found it in the System Keychain, not in the Login keychain. Thanks anyway! – Ramaraj T Feb 15 '16 at 16:29
  • 2
    after installing new wwdrca certificate "This certificate has an invalid issuer" is not gone – BHASKAR Feb 17 '16 at 14:00
  • Once remove certificates which are showing Invalid issuer and try again by installing – Uma Madhavi Feb 17 '16 at 16:35
  • 4
    This was preventing me from submitting to Apple an version... And all Xcode gived me was some non-related error.... Updating AppleWWDRCA on system keychain solved! – André Henrique Feb 18 '16 at 01:37
  • 1
    Worth adding: if you have BOTH the old certificate and the new one, it still may fail, so do remember to delete the old one – niklassaers Feb 18 '16 at 13:47
  • Need to remove the old one – Uma Madhavi Feb 18 '16 at 14:09
  • this issue was preventing me from making an enterprise build to export, never did Xcode say that this was the issue. I happened to notice the red text, used this fix, and voila...! – manroe Apr 06 '16 at 19:13
  • If I remove certificates they just auto-reappar. – JohnyTex Apr 09 '16 at 21:50
  • Thank you thank you thank you! – Danny Connell Apr 10 '16 at 20:34
  • @JohnyTex if that is the case, then you are probably removing them from Login keychain and not the System one. I noticed the same behavior if I didn't delete from the System keychain. – th3morg Jun 01 '16 at 11:35
  • This got rid of the "invalid issuer" problems. Searched "devel" and deleted anything expired. This didn't solve my problem of not being able to deploy a test build to my phone. When is Apple going to finally make it easy to run my own code on my own phone? – sudo Jan 02 '17 at 20:10