At work, every web service that I put together I serve over HTTPS by reverse proxy/URL redirect. That works 90% of the time, but the other 10% something in the web app I'm serving breaks because it fails to follow the redirect.
Is there a "correct" way to implement HTTPS that's not with redirects? That's the only way I've ever been taught.
Yes there is. You have to remove the "preload" part of the HSTS header and for firefox, you can set the max-age to 0. Since they use the chromium list, you can send an E-mail to the address specified on the bottom of the HSTS preload registration service and thell them to remove the site. Of course this is as slow as adding to the list was. I had to do that once because I acquired a domain that was in that list, probably because of the previous owner.
It was actually quite easy, they even provide a template for it. I just said I acquired the domain and they verified with the WHOIS history of it and I got confirmation of removal within a few hours. It obviously just took a few weeks from there because you have to wait for new browser updates with the change, but it was hardly any more difficult than adding the domain.
48
u/Seref15 Nov 24 '16
At work, every web service that I put together I serve over HTTPS by reverse proxy/URL redirect. That works 90% of the time, but the other 10% something in the web app I'm serving breaks because it fails to follow the redirect.
Is there a "correct" way to implement HTTPS that's not with redirects? That's the only way I've ever been taught.