Search code examples
windowssslhttpsjettygeoserver

How to solve Geoserver Jetty "Module not found ssl" error?


My objective, is to configure the Jetty in such a way that it enables HTTPS request for Geoserver.

To be a bit specific, I am downloading the Geoserver Windows Installer. As tested both version 2.9-RC1 and 2.10.2, they throw the warning

"Module not found [ssl]" as soon as it is started. enter image description here

Jetty version: 9.2.13.v20150730

I am referring to the info here to try setup the simplest test (self-signed) for the jetty, but still no luck.

What I did:

  1. Use Keytool create a self-signed keystore
  2. Replace the keystore generated from 1) to directory etc/keystore
  3. Edit the jetty-ssl.xml, replace the password (attribute default) with mine
  4. Edit the file start.ini, add --module=https, jetty.secure.port=8443
  5. Launch the batch file.

enter image description here

What did i miss?

P.S.: Geoserver works perfectly in HTTP. This post is asking about configuration for HTTPS.


Solution

  • The https module has a dependency on the ssl module. The error is stating it cannot find ssl.mod in the ${jetty.home}/modules (or, depending on your config, ${jetty.base}/modules) directory.

    The ssl module comes standard as part of the Jetty distribution so it has either been deleted, moved or renamed as part of your implementation.