How do I disable the warning Chrome gives if a security certificate is not trusted?
I want to know if it's possible to disable the warning you get in Chrome when you try to go to some HTTPS site that doesn't have a trusted certificate.
I have a few sites in my bookmarks that use HTTPS but none of them have trusted certificates, so each time I visit them I manually have to click "Proceed anyway" in the warning and it's getting kind of annoying.
Is there any way to disable the warning or somehow add these sites to some kind of safe list?
When you use Chrome's Options > Manage Certificates > Import where are you placing the certificate? On the "Certificate Store" screen of the import, choose "Place all certificates in the following store" and browse for "Trusted Root Certification Authorities." Restart Chrome.
You can tell Chrome to ignore all SSL errors by passing the following at the command line:
--ignore-certificate-errors
I start Chrome from bash using this:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors &> /dev/null &
and it works great. Note that this should only be used for testing development websites, and should not be used by a typical end user.
Why? Because Chrome won't say anything about bad certs on "real" sites too! So only use this if you are a developer!
If you just want this for local SSL certificates, then you may be able to get away with just using this option in Chrome, allow-insecure-localhost
:
chrome://flags/#allow-insecure-localhost
On a related note, if you want to create fully trusted self signed SSL certs for Chrome/Safari, you can find out how to do that here
You can avoid the message for trusted sites by installing the certificate.
This can be done by clicking on the warning icon in the address bar, then click
"Certificate Information" -> Details Tab -> Copy to file
Save the certificate, then double click on the certificate file. On the certificate window that opens, click install certificate, then walk through the install.
The next time you go to the site it should work fine without errors.
For Chrome on OSX, here's a relatively easy way to add the self-signed certificate to the system's Keychain, which is used by Chrome: Google Chrome, Mac OS X and Self-Signed SSL Certificates. No more annoying red warning screen! (I do wish Chromium would simplify adding the exception though.)