Here’s how to disable HSTS settings in Chrome & Firefox

HSTS, a web security mechanism, is an acronym for ‘HTTP Strict Transport Security.’ This mechanism, if implemented, forces browsers to establish connections via HTTPS, taking insecure HTTP out of the equation. This mechanism was developed to counter the SSL Strip attacks that could downgrade the connection from secure HTTPS to insecure HTTP. If you want to have a closer look at HSTS, here’s an excellent post for you.

As good as this mechanism is, sometimes, it causes pesky errors that leave you in a lurch. If you’re a Chrome user, you might have faced the NET::ERR_CERT_AUTHORITY_INVALID error. That’s why you’re probably searching for a way to circumvent this error. Well, we’re happy to give you a helping hand.

To get past this error, you’d need to disable HSTS security settings that are present in your browser. However, these instructions will work only if the error is caused due to cached HSTS settings. Follow the instructions only if you’re sure of it.

Clear HSTS configuration in Chrome

  1. Open Google Chrome
  2. Search for chrome://net-internals/#hsts in the address bar
  3. In the Query HSTS/PKP domain field, type in the domain name ( for which you want to delete the HSTS settings. This should return some values.clear hsts settings in google chrome
  4. Now scroll down the page and enter the same domain name in the Delete domain security policies and press the delete button

Done? Great. Now you’ve successfully cleared HSTS settings in Chrome.

Clear HSTS Settings in Firefox

  1. First, you need to close all open windows
  2. Open the browsing history by pressing Ctrl + Shift + H (Cmd + Shift + H on Mac)
  3. Go to the site for which you want to clear HSTS settings
  4. Now right-click on that site and then click on Forget About This Site. Keep in mind that this will clear all data of the site present in Firefox.clear hsts settings in fierfox

Congratulations! You just cleared the HSTS (Http Strict Transport Security) settings in Firefox.

Buy SSL Certificate at Cheap Prices

Get maximum discounts of up to 89% on DV, OV & EV SSL Certificate at CheapSSLsecurity. Boost up customer trust and secure their confidential information with high-level encryption.
Cheap SSL Certificate at Only $5.45


Welcome to Savvy Security, a blog focused on providing practical cybersecurity advice for website owners and small businesses. Our team brings you the latest news, best practices and tips you can use to protect your business...without a multi-million dollar budget or 24/7 security teams.