Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • On the JOC Cockpit server, run the following command and replace the JETTY_HOME and JETTY_BASE placeholders as specified above:

    Code Block
    languagebash
    titleAdd HTTPS module to Jetty
    java -jar "JETTY_HOME/start.jar" -Djetty.home="JETTY_HOME" -Djetty.base="JETTY_BASE" --add-to-startmodule=ssl,https
  • Having executed the above command users should find a new folder JETTY_BASE/etc
    • By default Jetty expects a keystore with the name keystore in this folder that has been created from the above command.

    • Jetty doesn't start if it doesn't find a keystore that corresponds to its settings.

  • In addition the JETTY_BASE/start.d/https.ini and JETTY_BASE/start.d/ssl.ini configuration files will be created and will be populated with a number of entries for TLS/SSL settings.

...