So we have a webservice running tomcat 7 on port 58080 that I have been tasked with migrating from http to https. I have the SSL configuration set and functional but only if you go directly to the url https://<domain>.com:58080
. I would like it to listen for http://<domain>.com:58080
and <domain>.com:58080
but rewrite those to the https url. Currently if you do not specify https in the url there's no answer so I would like to know if this is possible and how?
Thanks!
Edit: I also have the require SSL config in web.xml.