1

Peer certificate cannot be authenticated with given CA certificates

I cannot connect to our Jenkins instance, keep getting the "Peer certificate cannot be authenticated with given CA certificates" error, even after I have added the self-signed certificate to the System Keychain and both Safari & Chrome show the certificate as always trusted.

OS: MacOS High Sierra (10.13.2)

1 reply

If Jenkins certificate was issued by a company's certification authority, make sure to add the company's certificate to trusted as described at http://www.robpeck.com/2010/10/google-chrome-mac-os-x-and-self-signed-ssl-certificates/

Typically, in this case, browsers will show a certificate tree like this:

  • Company CA  <--- Add it to trusted
    • Jenkins server certificate