For internal usage, we have a system using a self-signed insecure SSL certificate, making Chrome warn me on each session:

Your connection is not private

Attackers might be trying to steal your information from log.hive.stage.dreamlines.nl (for example, passwords, messages, or credit cards). NET::ERR_CERT_AUTHORITY_INVALID

I always have to click Advanced and then Proceed to my-custom-site.foo (unsafe). I don't want to do this on every session. I know about the risks, I always want to trust an insecure certificate for a specific domain.

How can disable the warning for a specific URL in Chrome? I don't want to allow all insecure content, it should be a whitelist.

  • Possible duplicate of superuser.com/questions/742089/… even though it didn't get any answer yet.
    – k0pernikus
    Nov 24, 2015 at 11:22
  • I won't tell you how to disable the warning. Just place the self-signed insecure but trusted certificate into the operating system's certificate store. You won't get the warning at that point. This is much safer then disabling the warning.
    – Ramhound
    Nov 24, 2015 at 11:58
  • @Ramhound I don't want to trust that certificate in all cases, only in the context of surfing to a specific page.
    – k0pernikus
    Nov 24, 2015 at 12:14
  • Chrome is designed in such a way that warning cannot be disabled. We are lucky we can even click continue, and continue to the page, to be honest.
    – Ramhound
    Nov 24, 2015 at 12:16

1 Answer 1


To allow insecure connection for a certain URL, you need to import their site certificate into your keychain and make it trusted for your HTTPS/SSL connection, so Chrome can understand that. To make it work for all web addresses, you need to import Root certificate instead.

In Chrome basically you've to click on padlock icon, then in Connection tab/Certificate Information find your insecure issuer and download CRT file which therefore can be imported into your system keychain.

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

or use the following command to save that file:

ex +'/BEGIN CERTIFICATE/,/END CERTIFICATE/p' <(echo | openssl s_client -showcerts -connect example.com:443) -scq > file.crt

Then open the file and find the option to import the certificate and make it trusted for HTTPS/SSL.

For example on OS X you can double-click on the file or drag and drop in your Keychain Access, so it'll appear in login/Certificates. Then double-click on the imported certificated and make it Always Trust for SSL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.