SSL - How to redirect users from the HTTP to HTTPS url for OneClick in Spectrum 10.3

Document ID : KB000124023
Last Modified Date : 31/12/2018
Show Technical Document Details
After installing 10.3 and configuring SSL, there is a need to have users automatically redirected from the HTTP url to the secure HTTPS url.  How can this be done so users do not need to type in the secure url?
Tomcat documentation notes that the transport-guarantee entry in the tomcat configuration needs to be changed from NONE to CONFIDENTIAL for HTTP to HTTPS url redirection.  For Spectrum's implementation, this means you need to change all 30 entries in the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml.

1.  Enable SSL and confirm that it works.
2.  Make a backup copy of the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml file
3.  Edit the $SPECROOT/tomcat/webapps/spectrum/WEB-INF/web.xml file and change all 30 of the transport-guarantee entries from NONE to CONFIDENTIAL:


4.  Save the web.xml
5.  Stop and restart tomcat

All users that attempt to access the standard HTTP url for OneClick will now be redirected to the HTTPS url for OneClick.