Link to home
Start Free TrialLog in
Avatar of Asfour Crystal
Asfour CrystalFlag for Egypt

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

Avatar of M A
M A
Flag of United States of America image

Export to PFX and replace the existing certificate.

https://www.digicert.com/kb/util/csr-creation-ssl-installation-tomcat.htm

https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html


Btw: Jasper (Reports) is NOT an Oracle product ;-)

Avatar of Asfour Crystal

ASKER

i tried with these steps but the service didn't start at all after trying to restart

What error you see in EventViewer?

What are the logs . Check log location

User generated image


What error you see in EventViewer?

I doubt he will see anything there ;-)


Check the Tomcat log files instead!

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?

server.xml

no it's not new server, it's working normally but we need to secure the webserver using https instead of http

User generated image

Typo ;-)

You should check/change this!

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.

It seems you're missing something (SSLHostConfig or even more)... 


This is part of our configuraqtion:

User generated image


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?!

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.

ASKER CERTIFIED SOLUTION
Avatar of Asfour Crystal
Asfour Crystal
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

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!