How to Set Up Sectigo ACME: certbot, acme.sh, win-acme

This guide is for customers who have ordered Sectigo ACME from TutHost. You set up an ACME client — a program on your server — once. From then on, it gets Sectigo DV certificates for the domains in your subscription, proves that each domain is yours (with a file on the website or a DNS record), and replaces the certificate with a new one in time.

For product details and prices, see the Sectigo ACME page.

If your website is on TutHost shared hosting

DirectAdmin already has free Let’s Encrypt built in: it is enabled in one click and renews itself. Buy Sectigo ACME only if you specifically need a Sectigo certificate. Then you have two options: enter the EAB keys in DirectAdmin (section 8) or set up acme.sh over SSH (section 3). Please check with our support what is available on your server.

1. Where to find the three values

  1. Log in to the my.tuthost.ua client area and open your Sectigo ACME service.
  2. If you have not added domains yet, click “Configure”, enter your domains and click “Submit Configuration”. Later, you can add new domains with the “Add Domain” button.
  3. Three values will appear on the service page. This usually takes a few seconds; if they do not appear for a long time, reload the page later or contact our support.
  • Server URL — the address of the Sectigo ACME server, for example https://acme.sectigo.com/v2/DV. This is only an example: use the address shown in your client area.
  • EAB MAC ID — the identifier of your subscription.
  • EAB MAC key — the secret key.

EAB (External Account Binding) works like a login and password that Sectigo uses to recognise your paid subscription. In the commands below, replace <Server URL>, <EAB MAC ID> and <EAB MAC key> with your values, and example.com with your domain.

Treat the EAB MAC key like a password. Do not send it by email or chat, and do not keep it in public repositories or shared files.

2. certbot (Linux, nginx or Apache)

For nginx, it is a single command:

sudo certbot --nginx --agree-tos --email admin@example.com \
  --server <Server URL> \
  --eab-kid <EAB MAC ID> --eab-hmac-key <EAB MAC key> \
  -d example.com -d www.example.com

For Apache, replace --nginx with --apache. If certbot should not change your web server configuration, get the certificate only: certbot certonly --webroot -w /path/to/site with the same --server, --eab-kid, --eab-hmac-key and -d options.

certbot remembers the server URL for this certificate, so renewals also go through Sectigo.

3. acme.sh (including without root)

acme.sh runs as a regular user, so it also works on hosting with SSH access. First, register an account once:

acme.sh --register-account --server <Server URL> \
  --eab-kid <EAB MAC ID> --eab-hmac-key <EAB MAC key>

Then get the certificate. After -w, specify the folder your website is served from:

acme.sh --issue --server <Server URL> \
  -d example.com -d www.example.com -w /path/to/webroot

Include --server in this command too: without it, acme.sh uses its default certificate authority (ZeroSSL) instead of Sectigo. acme.sh has no short name for Sectigo, so the full URL is required.

To make your web server use the certificate and reload it after each renewal, install the certificate with --install-cert. Use your own file paths and reload command:

acme.sh --install-cert -d example.com \
  --key-file /path/to/example.com.key \
  --fullchain-file /path/to/fullchain.pem \
  --reloadcmd "systemctl reload nginx"

4. Wildcard via DNS (DNS-01)

A wildcard (*.example.com) is issued only after DNS validation: the ACME client adds a temporary TXT record to the domain’s DNS by itself. For that, your DNS provider must offer an API, and the client must have a plugin for it. Validation by a file on the website (-w) does not work for wildcards.

In acme.sh, DNS plugins are named dns_<provider>; the list and the required variables are in the acme.sh wiki, section DNS API. Set your DNS provider’s API credentials as environment variables and run:

acme.sh --issue --server <Server URL> \
  --dns dns_<provider> -d '*.example.com'

For the certificate to cover example.com itself, that domain must be in your subscription separately — then add -d example.com to the command.

If your domain’s DNS is hosted by TutHost, please ask our support how to set up DNS validation.

5. win-acme (Windows, IIS)

Download win-acme from the official website win-acme.com and run it as administrator:

wacs.exe --baseuri <Server URL> --eab-key-identifier <EAB MAC ID> --eab-key <EAB MAC key>

Then choose the IIS site and domains in the menu, as for a regular certificate. If the program asks for EAB keys, enter the EAB MAC ID and EAB MAC key. win-acme creates a task in Windows Task Scheduler that renews the certificate.

6. Other ACME clients

Popular ACME clients support EAB. Where to enter the server URL and keys:

ClientSettings
Posh-ACME (PowerShell)Set-PAServer, then New-PAAccount -ExtAcctKID … -ExtAcctHMACKey …
Caddyacme_ca <Server URL> and the acme_eab { key_id … mac_key … } block
Traefik v3acme.caServer, acme.eab.kid, acme.eab.hmacEncoded
cert-manager (Kubernetes)spec.acme.externalAccountBinding: keyID and keySecretRef (a Secret with the key)
lego--server, --eab, --kid, --hmac

7. How to check auto-renewal

certbot. Check that renewal works:

sudo certbot renew --dry-run

The command tests renewal of all certificates without replacing the ones in use. certbot usually sets up automatic runs by itself, with a systemd timer or cron. To check the timer: systemctl list-timers | grep certbot.

acme.sh. During installation, acme.sh adds a daily cron job. Check it and the next renewal date:

crontab -l | grep acme.sh
acme.sh --list

win-acme. Open Windows Task Scheduler and make sure there is a win-acme task.

8. DirectAdmin, Plesk and cPanel

DirectAdmin 1.711 and later

Since version 1.711, DirectAdmin can get certificates from a third-party ACME provider with EAB keys — separately for each domain. Look for it on the domain’s certificate page (TLS Certificates): you need the choice of your own ACME provider and fields for the server URL and the EAB keys. Enter the Server URL, EAB MAC ID and EAB MAC key — DirectAdmin then renews the certificate itself.

Field names, and whether this setting is available in your account, depend on the panel version and configuration. On TutHost hosting, please check with our support.

Plesk with the “ACME SSL” extension

In Plesk 18.0.67 and later (SSL It! 1.21 and later), the official “ACME SSL” extension lets you set an ACME server URL and EAB keys for a domain. The extension supports validation by a file on the website (HTTP-01) and through DNS (DNS-01), so it also works for wildcards. By default, users choose the certificate authority for their domains, but the server administrator can restrict this.

A server administrator can do the same from the command line:

plesk ext sslit --certificate -issue -domain example.com \
  -directory-url <Server URL> -kid <EAB MAC ID> -hmac <EAB MAC key>

cPanel

The built-in AutoSSL in cPanel works with Let’s Encrypt only. Here, Sectigo ACME can be connected only over SSH, with acme.sh (section 3).

9. Common errors

  • externalAccountRequired or another EAB error — --eab-kid and --eab-hmac-key were not passed, or --server has the wrong URL. Make sure all three values were copied from the client area in full.
  • “A requested identifier has not been delegated” — the domain is not in your subscription. Add it in the client area with “Add Domain”, or buy more items with “Buy more domains”.
  • The certificate was not issued by Sectigo — the acme.sh command is missing --server (section 3).
  • A wildcard is not issued — it needs DNS validation (section 4).

10. If your EAB key has leaked

Contact our support right away: we will help you decide what to do with the subscription. To prevent this, keep the EAB MAC key as safe as a password.

ACME client documentation

Was this article helpful?

Related Articles