I am trying to add virtualhosting in Apache Tomcat server. I have a pre-existing url say http://xyz:9100 and I want to change it to https://xyz-abc.com. I want to map the xyz:9100 to xyz-abc and also change http to https. I have ssl certificate in the system, and I followed steps mentioned in digicert site, but in vain. Tried various other online recommendations and changed the server.xml many times but still no good results.
Kindly let me know if anyone has any lead here.
I suggest to run a reverse proxy (nginx or apache) with fitting certificates to xyz-abc.com to deliver SSL secured content.
Apache Tomcat can do ssl, too and needs a java keystore but I would prefer nginx or apache.
Have a look at the docs