Jetty SSL Demo

The Jetty demo can be run with a packaged keystore by following these steps:

  1. Edit the etc/demo.xml file to uncomment the SSL listener.
  2. Make sure that your CLASSPATH contains jnet.jar, jcert.jar and jsse.jar
  3. Run the demo with:
          java org.mortbay.jetty.Server etc/demo.xml
          
    Startup is slower than normal as the SecureRandom class must be initialized.
  4. 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.