Published in : 2022-02-27
I am using Tomcat v9.0 and I have deployed a java application with server on staging and production websites using same tomcat configuration. When I hit the URL, it is not redirecting user to HTTPS.
I have generated CSR and I got certificates files from registrar. I used below command to generate keystore.
keytool -genkey -alias tomcat -keyalg RSA
My connector in server.xml file,
<!--<Connector port="8443" protocol="HTTP/1.1"maxThreads="100" scheme="https" secure="true"clientAuth="false" sslProtocol="TLS" />-->
Did I miss anything in the code while deploying the WAR/EAR to staging and live server?
Join our community and get the chance to solve your code issues & share your opinion with usSign up Now