Make Safari accept an untrusted certificate

I'm using Safari 10.0.1 on macOS Sierra 10.12.1


I'm trying to view use Safari to view a web server I use for staging content. Since it's only a staging server, I have a certificate with an untrusted root (it's from the letsencrypt staging environment). It used to be that when I tried to load a site like this from Safari, it would alert me, but I could still accept the insecure certificate and continue on to the site.


Lately, I just get an error that "Safari can't establish a secure connection to the server," and that's it. There's no option to load it anyway. There's no lock icon in the URL bar to look at the certificate. I've been using Chrome to load this site because it has the behavior I used to see in Safari. Is there any way to get the old behavior back?


Thanks

MacBook Pro with Retina display, macOS Sierra (10.12.1)

Posted on Nov 18, 2016 4:03 PM

Reply
3 replies

Nov 20, 2016 11:42 AM in response to Eric Root

Thanks for the reply. Now I realize that the title of the post is inaccurate. I don't want Safari to accept the certificate. I want it to prompt me whether or not it should load a site with an untrusted certificate.


The certificate is not in the keychain. I suppose a workaround would be to add it to the keychain and then set it to always trust. I would rather have the old behavior back, where I get a warning with the option to continue or cancel loading the page.


I get the behavior I want on other staging sites. I'm thinking I might regenerate my certificate for the problematic site and see if that fixes it.

Nov 19, 2016 7:16 AM in response to feck

From Safari Help


Change the trust settings of a certificate


You can view or change a certificate’strust policies in Keychain Access.


Open Keychain Access for me


In the Category list, select a category.

Select a certificate, then choose File > Get Info.

Click the Trust disclosure triangle to display the trust policies for the certificate.

To override the trust policies, choose new trust settings from the pop-up menus.

Safari Certificate not recognized


Certificate isn’t being accepted

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Make Safari accept an untrusted certificate

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.