You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Safari forcing HTTPS for some HTTP only sites - SOLVED

If, in Safari, a http:// site is getting automatically redirected to https:// and you get an error it cannot open the page, it's due to HSTS. You cannot prevent that from happening with the regular Safari or by deleting the ~/Library/Cookies/HSTS.plist file. Just doesn't work.


EXCEPT if you download the Safari Technology Preview version where you can delete the HSTS Policy cookie for said site. And then it works! Your 'normal' Safari version will pick this up too, in case you don't want to continue using the preview version.



Was driving me crazy.


Note: Chrome and Firefox are not affected by this behavior.

Posted on Jan 23, 2019 1:11 AM

Reply
Question marked as Top-ranking reply

Posted on May 3, 2019 8:15 AM

This now seems to be in the regular Safari as of 10.14.4 at least. It was driving me crazy, as I'd managed to get this set for localhost. However, just selecting localhost and deleting all its cookies worked fine in the regular Safari (12.1)/

4 replies

Safari forcing HTTPS for some HTTP only sites - SOLVED

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.