About Jetty Resources Demos Servlets 2.2 JSP 1.1 Web App JSSE SSL Handlers Admin Debug Downloads Contributing Sponsors 


Copyright 2001 Mort Bay Consulting. |
| |
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 lib/com.sun.net.ssl.jar is in your CLASSPATH.
- 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.
|