🕸 Chrome — Bypassing SSL Certificate Check

Ido Montekyo
idomongo
Published in
2 min readApr 22, 2020

--

How to disable SSL checking for sites? How do I disable the warning Chrome gives if a security certificate is not trusted? How to Bypass “Your connection is not private” Message? How to avoid net::ERR_CERT_AUTHORITY_INVALID?

Often, I need to work with local dev/qa servers which are using Self-Signed certificates.

Chrome Web Browser gives a warning before opening the web site, However, it does allow to continue to the web site.

But unfortunately, my JavaScript REST calls executed by the Chrome Web Browser are failing the security check and I am unable to test my full code:

net::ERR_CERT_AUTHORITY_INVALID

Is there a way to bypass Chrome SSL certificate warnings?

There is! 🙌

Chrome has the following command line switch: — ignore-certificate-errors

On Windows

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --ignore-certificate-errors

On Mac OS

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors --ignore-urlfetcher-cert-requests &> /dev/null

Once Chrome is executed with this command line argument, the following warning appears:

Chrome shows this warning

Thank you Stack Overflow post

📭

--

--

Ido Montekyo
idomongo

System Analysis. System Design. Architecture. Databases. Project Management. Speaker. People Motivator.