Mike Griffin

About | Archives | |

How to Clear HSTS Settings in Major Browsers

• HSTS

The page that I refer to most often for clearing HSTS settings is no longer available except through a wayback machine link so I’m adding another redundant copy of the information that was on it to the web. Here’e the meat of the article:

Firefox 26: How to fix “Error code: ssl_error_bad_cert_domain”

If you see “I understand the risks”, follow these instructions. Otherwise:

  1. Close all tabs open with the site
  2. Clear your history
  3. In the address bar, type about:permissions
  4. Search for and click on the site
  5. Click “Forget About This Site”

Chrome, Opera: “Cannot connect to the real "

  1. In the address bar, type chrome://net-internals/#hsts
  2. Type the domain name in the text field below “Delete domain”
  3. Click the “Delete” button
  4. Type the domain name in the text field below “Query domain”
  5. Click the “Query” button
  6. Your response should be “Not found”

Safari: Clear the HSTS cache.

  1. Close Safari
  2. Delete the `~/Library/Cookies/HSTS.plist’ file
  3. Reopen Safari

References