The site specified an invalid Strict-Transport-Security header - firebug

前端 未结 1 743
一向
一向 2021-02-19 03:10

I am getting this warning in firebug when adding HSTS header.

The site specified an invalid Strict-Transport-Security header.

here is my htacce

相关标签:
1条回答
  • 2021-02-19 03:23

    As @jhutar mentioned in comments, similarly in my case as I set up the site on the main domain with trusted SSL certificate the problem disappeared. So, the firebug is showing that error only for self-signed(and/or not-trusted) SSL certificates.

    0 讨论(0)
提交回复
热议问题