views:

16

answers:

0

I have a webapp which receives a certificate request through upload via a servlet (non-ssl).

The CSR is signed by the webapp, and sent back to the user which installs the certificate in their browser.

Now, how do I make the servlet container accept HTTPS connections with the newly signed certificate?

As far as I know, the signed certificate must be located in the HTTPS Connector's "truststore", and that is no problem to do manually.

But how can I add it automatically without restarting the container or messing with the command line?

Thank you.