1

Since installing Safari 14, I can't find a way of trusting an invalid SSL certificate (either expired or set up for the wrong hostname).

I used to be able to click on the address bar and then trust that specific certificate but can't find a way to do that in Safari anymore.

1 Answer 1

3

Note: Don't do this for sites you don't trust!

This might not be the simplest solution, but it's the only one I could come up with (thanks to https://serverfault.com/questions/139728/how-to-download-the-ssl-certificate-from-a-website# for explaining how to download the certificate). Assuming we want to trust https://test.com/

  1. Download the certificate by running this in the Terminal:
echo -n | openssl s_client -connect test.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /tmp/test.cert
  1. Add it to your Keychain
open /tmp/test.cert
  1. Add it to the System Keychain

Add it to the System Keychain

  1. Find it in the Keychain, double-click it and trust it:

Trust the certificate

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .