Login
Quick Search
showWiki Markup Help
Feed Contents
Enable SSL in Jetty by dizzzz 3-12-2008 20:11
HowTos by wolf 3-12-2008 20:08

Enable SSL in Jetty

by dizzzz at 3-12-2008 20:06; Wiki ID: JettySSL

How to.... enable SSL in Jetty

Update

In SVN you only need to uncomment the relevant section in EXIST_HOME/tools/jetty/etc/jetty.xml. Generate SSL certificates using

build.bat -f build-sign.xml jetty-keygen

Summary

Basically the process of enabling SSL in jetty consists of three steps:

  1. Edit the Jetty configuration
  2. Create SSL Certficates
  3. Check additional notes

Edit the Jetty configuration

  1. Open EXIST_HOME/tools/jetty/etc/jetty.xml in your favourite text editor (jEdit?)
  2. Scroll down to line 69.
  3. Uncomment line 74 - 93 (element "Call"), modify both passwords into "secret".

Create SSL Certficates

  1. Modify the file EXIST_HOME/build-sign.xml. Add the code below.
  2. Generate the SSL certificates with build.sh|bat] -f build-sign.xml jetty-keygen

Additional notes

Now you are ready!

  1. Start the server with bin/startup.sh|bat]
  2. Point your browser to https://localhost:8443

Please note only the http traffic to port 8443 is encrypted. Other ports are still unsecure.

Check for the following logging in the console:

HowTos

by wolf at 1-12-2007 18:57; Wiki ID: HowTos
SQL Databases Querying SQL Databases from XQuery (SQLModule)
XSLT 2 Upgrading eXist for XSLT 2.0 (Saxon)
Troubleshooting Some help for common issues
JettySSL Enabling SSL in Jetty
Links
Latest Posts
AtomicWiki 0.5