6

My library's OPAC (online public access catalog) website doesn't currently use HTTPS. Trying to view it with a secure connection 'crashes' it regardless of browser. However once I accidentally tried to visit the site via HTTPS and now it automatically tries to serve me the secure version no matter what I do.

I've had the same problem in Chrome for a while, and while I can use the solution presented in this similar question and it will fix it for a little while by my next session the HTTP to HTTPS redirect is back in chrome.

For that reason I've been using Firefox mostly until today when I accidentally pasted an HTTPS link to the website into Firefox now Firefox will only serve the HTTPS version as well.

7
  • Maybe this might help a bit, about:config - browser.urlbar.autoFill (false) ?
    – Tech-IO
    Commented Feb 1, 2018 at 17:03
  • @Tech-IO Nope...
    – aslum
    Commented Feb 1, 2018 at 19:53
  • Or maybe using an add-on e.g. addons.mozilla.org/de/firefox/addon/noredirect But you may find an add-on by your self, just search for no redirect or no redirection.
    – Tech-IO
    Commented Feb 1, 2018 at 19:58
  • have you tried to clear everything (ctrl-shift-del)?
    – Putnik
    Commented Feb 2, 2018 at 7:06
  • The redirect is returned by the server. You can't control that from the client.
    – Adrien
    Commented Feb 2, 2018 at 21:55

1 Answer 1

12

Exit Firefox and edit the file

/Users/Chloe/AppData/Roaming/Mozilla/Firefox/Profiles/xxxxx.default-999999/SiteSecurityServiceState.txt

Delete the line with your domain in it. Then restart Firefox. That will stop the redirection. That file is like Chrome's chrome://net-internals/#hsts.

The xxx and 999 will be random letters and numbers. The path is for Windows. Use Menu > Help > Troubleshooting Information > Profile Folder to find where your profile is located. In Linux the file is

/home/<USER>/.mozilla/firefox/profile.default/SiteSecurityServiceState.txt
2
  • 2
    Wow, very useful. Curious, how you were able to figure out that this is where such is stored? Commented Jul 10, 2019 at 22:46
  • 3
    @Coldblackice I probably knew where Firefox settings were and used find AppData/Roaming/Mozilla/Firefox/Profiles -type f | xargs grep domain.com in CygWin bash shell.
    – Chloe
    Commented Aug 16, 2019 at 0:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .