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
,certbot
andpython3
. - 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
.
Important Note: You should use the --zerossl-api-key
argument in order to make sure you get a ZeroSSL certificate instead of an Let's Encrypt certificate.
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
Ensure correct ACME server URL is used (--server flag):
--server https://acme.zerossl.com/v2/DV90
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.