• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

HSTS forced on websites

Pandur2000

Basic Pleskian
Since I've installed and used Let's Encrypt, some of my websites always set HSTS on, even though it's not defined in the vhost.conf. I'm out of options as I searched every config file I could think of. THe problem with that is that the certificates installed are not valid for subdomains, also not for webmail.* and lists.*. Since webmail and mailman also forward to https, browsers deny loading the page because of HSTS certificate error. Any suggestions appreciated...
 
Oh my god, I am sorry for this stupid thread.
After I installed Let's Encrypt, the apache directive
Header always set Strict-Transport-Security"max-age=31536000; includeSubDomains"
was inserted to every vhost.conf of a domain which I enriched with a new SSL certificate from Let's Encrypt.
I deleted that lines, restarted apache - this should have done the trick, right?
No.
Chrome stores the HSTS status in it's own cache and obvioiusly doesn't update it from STRICT to n/a if the server setting has been changed.
SO, I was searching for hours and hours, until I tried Firefox - voila. Issue gone. Cleared Chrome cache - issue gone there as well.

The problem with Chrome is (also) that it checks the HSTS status of a domain, stores that in the cache and then redirects http requests to https automatically, no matter what.

Issue solved -.-.
 
Back
Top