ZeroSSL with Certbot: EAB Setup Step by Step
Certbot talks to Let's Encrypt unless you tell it otherwise. ZeroSSL runs an ACME server too, with one extra requirement: External Account Binding, or EAB. You create a pair of credentials in your ZeroSSL account and give them to Certbot once. After that, issuance and renewal work like any other Certbot setup. This guide uses the ZeroSSL ACME documentation and the Certbot documentation.
What you need first
- A free ZeroSSL account.
- Certbot installed. See Free SSL Certificate with Certbot: Step by Step.
- A domain that points to your server, or DNS access for a DNS challenge.
ZeroSSL's documentation says its ACME service issues unlimited 90-day certificates at no charge, with multi-domain and wildcard support. It also sets a limit of six labels in subdomains, excluding the public suffix.
| Item | Value |
|---|---|
| ACME server URL | https://acme.zerossl.com/v2/DV90 |
| Credentials | EAB key ID and HMAC key |
| Certificate lifetime | 90 days |
| Where to create credentials | Developer section of the dashboard |
Step 1: Generate EAB credentials
In the ZeroSSL dashboard, open the Developer section and click Generate near the bottom. You get two values, an EAB KID and an HMAC key. You can also use the API: a GET request to api.zerossl.com/acme/eab-credentials with your access_key returns eab_kid and eab_hmac_key. ZeroSSL notes that since March 2022 all EAB credentials are reusable, so one set is enough for most uses. There is a daily limit per user. Treat the HMAC key like a password.
Step 2: Issue a certificate
Certbot documents the flags --eab-kid, --eab-hmac-key and --server. Put them together with a normal issue command:
sudo certbot certonly --standalone \
--server https://acme.zerossl.com/v2/DV90 \
--eab-kid YOUR_KID \
--eab-hmac-key YOUR_HMAC_KEY \
--agree-tos -m you@example.com \
-d example.com -d www.example.com
--standalone starts a temporary web server on port 80. Use --webroot or a DNS plugin if port 80 is busy. Certbot keeps the account details, so later commands for the same server do not need the EAB values again.
Use the config file instead
Certbot's own documentation shows how to set an alternate ACME server with EAB values in cli.ini, as plain values without quotes:
server = https://acme.zerossl.com/v2/DV90
eab-kid = YOUR_KID
eab-hmac-key = YOUR_HMAC_KEY
The file is read from /etc/letsencrypt/cli.ini and ~/.config/letsencrypt/cli.ini. Keep its permissions tight, since it holds a secret.
Renewal
Certbot's renew command renews certificates that are ready. Since Certbot 4.0.0 that means less than one third of the lifetime remains. Many installs already have a timer. Look for certbot renew in crontab or systemctl list-timers. For a 90-day certificate the renewal window starts about 30 days before expiry. If renewal fails, read how to fix Certbot renewal errors.
Revoke
ZeroSSL does not allow ACME-issued certificates to be revoked in its web portal. Use Certbot and keep the server flag:
certbot revoke --server https://acme.zerossl.com/v2/DV90 \
--cert-path /path/to/cert.pem
Certbot's documentation says that a certificate obtained with a non-default server needs that flag on revoke too.
Check that it worked
List what Certbot holds and confirm the issuer:
sudo certbot certificates
cd /etc/letsencrypt/live/example.com
openssl x509 -in cert.pem -noout -issuer -enddate
The issuer line should name ZeroSSL, not Let's Encrypt, and the end date should be about 90 days out. The files sit in /etc/letsencrypt/live/example.com/. Point your web server at fullchain.pem and privkey.pem. Then reload the server after each renewal with a deploy hook, so the new certificate is actually served. Test the live site with the free SSL checker and make sure the chain is complete, as described in the certificate chain guide.
Errors you may see
- **A Key ID must be specified.** The EAB values did not reach the server. Check the flags or the account registration.
- **Wrong server.** Without
--server, Certbot asks Let's Encrypt, which does not know your EAB. - **Validation fails.** The challenge rules match Let's Encrypt. Read HTTP-01 validation.
If you prefer a client with ZeroSSL built in, see the acme.sh guide. ZeroSSL's other validation options are in the ZeroSSL validation guide.
Sources: ZeroSSL ACME documentation and ACME EAB credentials page, ZeroSSL help center on revoking ACME certificates, and Certbot documentation.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.