asked on
installing ssl cert on tomcat
Hello,
i've an win 2012 server installed on it program called Jasper for report it's an oracle product, and web based build on apache tomcat 9
i need to install my wildcard certificate on it, how can i make that?
Thanks
https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html
Btw: Jasper (Reports) is NOT an Oracle product ;-)
ASKER
i tried with these steps but the service didn't start at all after trying to restart
What error you see in EventViewer?
I doubt he will see anything there ;-)
Check the Tomcat log files instead!
ASKER
14-Sep-2022 14:15:33.971 SEVERE [main] org.apache.catalina.startup.Catalina.start Cannot start server, server instance is not configured
i'm not sure if this what you mean or not :)
Is this a new Tomcat server or did you just try to change something regarding the certificate?!
Could you post your "server.xml" config file?
ASKER
no it's not new server, it's working normally but we need to secure the webserver using https instead of http
ASKER
ok, i uncheck the ! mark and make restart to apache service up and running but i can't access the url. using https. i made restart to whole server for checking.
ASKER
would you send me this templete and i'll lcomplete it regarding to my configuration?
I know, it's a screenshot (because I wanted to blacken sensitive stuff), but I guess, you're able to type it yourself; it's not that much, isn't it?!
ASKER
i apprciate that :) another thing is there any command shall i apply or just copying the cert to the specific path and make restart to the service?
I don't know of any extra command or such. So, yes, copying/overwriting the cert and restarting the Windows service should suffice.
This is exactly what I suggested and posted! You shouldn't accept your comment as solution here! This ain't a good code of conduct!
Export to PFX and replace the existing certificate.
https://www.digicert.com/kb/util/csr-creation-ssl-installation-tomcat.htm