Jetty SSL Demo
The Jetty demo can be run with a packaged keystore by following these steps:
- Edit the etc/demo.xml file to uncomment the SSL listener.
- Make sure that your CLASSPATH contains jnet.jar, jcert.jar and jsse.jar
- Run the demo with:
java org.mortbay.jetty.Server etc/demo.xml
Startup is slower than normal as the SecureRandom class must be initialized.
- Follow the link https://127.0.0.1:8443/jetty/index.html. Remember that the first access to the server via SSL will be slower than usual as the SSL session will need to be negotiated - subsequent requests will be processed much more rapidly.