certbot is now available in edge as a classic snap. If you want a web server running on a system outside a snap (such as with
apt install apache2 or
apt install nginx), then this snap will get you HTTPS-enabled in one command.
To use, set up your web server as normal with HTTP first, then:
sudo snap install --classic --edge certbot sudo certbot
This will prove to Let’s Encrypt that you control the domain you’re hosting by adjusting your web server to serve a special file for the proof, obtain a certificate from Let’s Encrypt, install it into your web server and configure your web server for HTTPS.
You can have the tool do specific individual steps instead; see
certbot help for details.
This build follows upstream master, building daily and publishing to the edge channel if upstream integration tests pass.
I’m hoping to convince certbot upstream to maintain this snap. In the meantime, I’m maintaining a list of snap-specific issues at https://github.com/basak/certbot-snap-build/issues, and you can also see the build arrangements there (