From: David Yu <dy...@ex...> - 2006-07-28 21:28:37
|
Hi Richard, You can create a keystore from scratch by doing the following: 1. cd to your JAVA_HOME\bin directory using commandline. 2. run this line: keytool -genkey -alias jetty6 -keyalg RSA -keystore E:\path\to\your\samplekeystore.keystore And insert this insdie the <connectors> element <connector implementation="org.mortbay.jetty.security.SslSocketConnector"> <port>8443</port> <maxIdleTime>60000</maxIdleTime> <keystore>e:/path/to/your/samplekeystore.keystore</keystore> <password>your keystore password</password> // this will be prompted first (keystore password) after you enter the command above (keytool) <keyPassword>your keypassword</keyPassword> // this will be prompted last (key password) after you enter the command above (keytool) </connector> P.S. Hoping this is not a double post. My previous reply was not sent successfully for some reason. Hope this helps, David |