You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Eric Chow <ec...@macaucabletv.com> on 2003/01/16 11:43:15 UTC
Embedding Tomcat in my Java Application with SSL support ??
Hello,
I have read the articl in onjava.com, and test the code.
It works.( http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html )
But, if I want to support SSL, I just add the following statement.
Connector secConnector = embedded.createConnector(null, 443, true);
embedded.addConnector(secConnector);
And I generate a keystore and place it in the {user.home} with the file name {.keystore}.
The alias, keystore password and the file name must be "tomcat", "changeit" and .keystore.
Is it possible to specific the keystore location and the password ?
Best regards,
Eric
==========================
If you know what you are doing,
it is not called RESEARCH!
==========================