Bypass SSL certificate verification



In this brief overview, I would like to share my experience on how to disable SSL checking for test sites, in other words, how to make HTTPS sites available for testing on local machines.







In modern times, the https protocol is becoming more and more popular, it has a lot of advantages and benefits, which is good. However, for developers, it can cause slight discomfort during testing.







Everyone knows that when you visit a site that has โ€œtemporarilyโ€ something wrong with the certificate, you will find a warning that is shown if the security certificate is not trusted net :: ERR_CERT_AUTHORITY_INVALID?







Hello online cinemas


All modern browsers show HSTS error message







What is HSTS
HSTS (HTTP Strict Transport Security) โ€” - TLS, TLS .



The easiest way to bypass this prohibition is, of course, to click on the "Advanced" tab and agree with the Unsafe mode.









But not all browsers, as it turns out, have this feature. This is how I faced this problem in Chrome on Mac OS







The developers of this operating system are so concerned about the safety of users that they even removed access to the site in "Insecure mode", despite the fact that this is the site of the device owner.







, , , , :







โ€” (Chrome, Opera, Edge โ€ฆ) , :







thisisunsafe







. , Chrome.







โ€” , .







Windows







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













Mac OS







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









Achtung! Chrome , .







, . , .







, . .









* ->-> ->โ€ฆ ,







- =)








All Articles