The Jetty documentation for Configuring SSL/TLS is long and
daunting, but makes no mention of how to work with the EFF's Let's Encrypt
certificate authority, which provides free automated certificates with the aim
of having the entire web available over HTTPS.
This article provides the steps for obtaining a Let's Encrypt certificate,
importing it into Jetty, enabling HTTPS using the certificate, and handling
It assumes you have Jetty setup in a home/base configuration, serving over HTTP
for one or more Internet-facing domain names.
As with all such guides, it is recommended to read all steps before making any changes,
and ensure you have backups for any existing files you may modify.
Lucee on Jetty bundles the Jetty server with the Lucee CFML engine,
cleanly configured using the home/base functionality in Jetty 9, and extensively documented.
The main aim is to provide a Lucee package that is a simple unzip-and-run to get
started, whilst providing a fully functional and capable web server, and also
making it clear how everything works to allow it to be adapted as needed.
This first release is v0.5 because I don't consider it sufficiently complete yet
- it all works fine, but doesn't yet contain everything I feel it should - for
example, HTTPS has not been configured and documented, and whilst Jetty itself
does support HTTPS and there's nothing stopping anyone consulting the Jetty docs
and setting it up, this project is about reducing that work.
So for development use it's fine, if you don't need HTTPS or are willing to
configure it yourself, go ahead - otherwise I hope to get what I consider a
complete v1.0 ready as soon as time permits, but didn't want to delay releasing
what I've done so far.
Downloads are available from the Lucee on Jetty project page; there's a
documentation wiki at GitHub, and the template for building bundles in
the GitHub repo .
As ever, I welcome any feedback or questions you might have - please use the