Cannot find expired certificate in Keychain Access
Trying to pull from a git repository I got an "SSL certificate problem: Invalid certificate chain", and was unable to access.
The answer here: git SSL certificate- Invalid certificate chain while accessing says it's an expired certificate problem.
When I visit the repository with Safari I get a message that a certificate issued by TERENA SSL CA has expired. However, I cannot find this certificate in my keychain. The keychain only contains a new, updated certificate from TERENA.
I have enabled "Show expired certificates" in the View menu, and I can see other expired certificates, but not the one from TERENA.
How can I find and delete this certificate?
Edit: The referenced answer in the comment below does not answer my question. The problem is that I cannot locate the expired certificate.
Solution 1:
The procedure to locate an expired certificate in a specific keychain is covered well in this answer:
- How do I fix the SSL warning I get when visiting github.com?
Be sure that you look on the left of the Keychain Access window - you should have a login keychain, maybe an iCloud keychain, a system Keychain and System Roots.
If you don't find the expired certificate in the first keychain, repeat the process after selecting each other keychain. Also pay attention in case you are not selecting All Items or Certificates in the filter under the list of Keychains.