How to resolve insecure HTTP usage?
My server is Tomcat, and I have configured the certificate and HSTS. My HTTPS port is 8443. I want to access the browser via http://domain:8443 and eventually redirect to https://domain:8443. However, when I actually try to access it, the browser returns a ‘Bad Request: This combination of host and port requires TLS.’ error. How can