Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a background process that can update the keystore Tomcat uses for its SSL credentials. I would like to be able to have Tomcat reload this automatically without needing a manual restart.

Is it possible to have Tomcat reload this without restarting, or is there a programmatic way that it could be done instead?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

I don't believe there is a way to do it automatically although your background process could restart tomcat automatically. The keystore only gets read once when the jvm is initialized. There might be a solution if you were to write your own handler that periodically re-checks the keystore but I personally haven't found any examples of this on the Internet.

share|improve this answer

You can restart individual Tomcat connector i.e. port restart like 8843 is possible after you change your jssecacert file.

mbeanServer.invoke(objectName, "stop", null, null);
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.