This repository contains a wrapper script that makes it easier to use Electronic Frontier Foundation's (EFF's) Certbot with the ZeroSSL ACME server
- Install the operating system packages for
curl
andcertbot
- Install the ZeroSSL wrapper script
- Quick:
- run
bash <(wget -q -O - https://github.com/zerossl/zerossl-bot/raw/master/get-zerosslbot.sh)
- Done!
- run
- Careful:
- Run
wget -q -O - https://github.com/zerossl/zerossl-bot/raw/master/get-zerosslbot.sh > get-zerosslbot.sh
- Inspect the file to see that it does what it is supposed to do
- Run
source get-zerosslbot.sh
- Run
- Quick:
To use the ZeroSSL ACME server instead of running certbot
run zerossl-bot
.
sudo zerossl-bot certonly --standalone -m [email protected] -d mydomain.example.com
sudo zerossl-bot --apache -m [email protected] -d myotherdomain.example.com
sudo zerossl-bot --apache -d mythirddomain.example.com --zerossl-api-key 1234567890abcdef1234567890abcdef
sudo zerossl-bot certonly --dns-cloudflare --dns-cloudflare-credentials /root/.secrets/cloudflare-api-token \
--dns-cloudflare-propagation-seconds 60 -d fourth.example.com \
--zerossl-api-key=1234567890abcdef1234567890abcdef
There have been issues reported with certbot interactive prompt causing certificates of Let's Encrypt instead of ZeroSSL being issued. It is recommended to hand over parameters directly using the documented flags.