fork-maintainers / iceraven-browser

Iceraven Browser
4.62k stars 224 forks source link

HSTS issue while using AdGuard #785

Open VK3002 opened 2 months ago

VK3002 commented 2 months ago

Version: from iceraven-2.20.0 to iceraven-2.20.3 OS: Android 14(Security Builtin 05,May,2024)

I'm was not allowed to access any website and it showed HTTP Strict Transport Security (HSTS) while using AdGuard. Hence I tried editing about:config. By setting security.enterprise_roots.enabled to True(It's False by default), I was able to access the websites. However, this option should be set to True by default, just as Mull / Fennec F-Droid / Firefox for Android / Firefox Focus / latest Firefox desktop versions did(That's why I never encountered HSTS problem in these Apps). Moreover, security.enterprise_roots.enabled would switch back to False itself (Maybe after I close the App then open it again/sleep then wake up on the next morning XD, I don't know). Setting security.certerrors.mitm.auto_enable_enterprise_roots to True didn't help.

akliuxingyuan commented 1 month ago

https://adguard.com/kb/adguard-for-android/solving-problems/firefox-certificates/

VK3002 commented 1 month ago

Thanks for the solution. :smile_cat: But I don't need to set it manually on Mull/Fennec F-Droid/Firefox Focus. Will you provide an out-of-the-box experience by setting this config as default in the future? Just like the apps I mentioned did.