Raghavendran,

> Am 26.09.2022 um 08:54 schrieb Ragavendhiran Bhiman (rabhiman) 
> <rabhi...@cisco.com.INVALID>:
> 
> Hi All,
> 
> I have a scenario where I need to reload the certificates which are newly 
> updated in the NSS DB without restarting the apache – tomcat.
> Is there any way to do it?
> 
> Kindly share some piece of code to achieve the reloading of the certificates 
> without restarting the apache tomcat service itself.
> 
> 

curl -u <user> -p <passw> 
"https://myserver.mydomain/manager/jmxproxy?invoke=Catalina:type=ProtocolHandler,port=<connector
 port>&op=reloadSslHostConfig&ps=<domain>"

you need that <user> with at least roles="manager-jmx" in tomcat-users.xml


> 
> Note : Trial from my side : Tried to restart the Apache connector, but still 
> it is reloading the old certificates only and not the new certificates.
> If possible how to achieve the loading of the new one?
> 
> 
> Many Thanks for your help.
> 
> Regards,
> 
> Raghavendran
> 

Hope this helps

Peter

Reply via email to