Powered by Jetty

About Jetty
Resources

Demos
Servlets 2.2
JSP 1.1
Web App
JSSE SSL
Handlers
Admin
Debug

Downloads
Contributing
Sponsors 

 

Mort Bay

InetU

SourceForge

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright 2001
Mort Bay Consulting.


  

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