Macos – Importing a self-signed SSL certificate on MacOS


I generated a self-signed certificate with openssl and added it to my linux server. I then imported the certificate on my mac with Keychain Access into the System keychain using the settings "Always Trust".

But, when I view the page in Chrome I'm still receiving an error:

The identity of this website has not been verified.
 • Server's certificate is not trusted.

SSL Error in Chrome

How do I get Chrome to trust my self-signed certificate?

Best Answer

According to this you apparently have to open the certificate and set “When using this certificate” to “Always Trust” and also restart Chrome, in addition to what you mentioned having done.

By the way, works as expected with Opera/Gentoo from here.