ACME stands for Automated Certificate Management Environment, a protocol standardized as RFC 8555 by the IETF. It defines how a client can automatically request, validate, and retrieve a digital certificate from a Certificate Authority (CA) entirely through an API, with no manual form filling, no copy pasting a CSR to a portal, and no back and forth with a CA operator.
The core idea is simple. Instead of "a person submits a request and a CA operator manually reviews it," ACME automates the whole lifecycle:
Let's Encrypt popularized this protocol and made it the industry standard for automated certificate issuance and renewal. CertiNext implements the same standard protocol, which means any standard ACME client, such as certbot, acme.sh, win-acme, or Posh-ACME, can request certificates from CertiNext exactly as it would from any other ACME compliant CA.
Certificates issued this way are deliberately short lived. The value of ACME isn't just automating the first issuance, it's automating the repeat renewal process for as long as the domain stays in use, with no human involvement required.
certbot has a single command for this:
certbot renew
This automatically finds every certificate it previously issued that's approaching expiry and re-runs the same issuance process for it, using settings saved from the original request (server, validation method, etc.), so there's no need to retype anything. In production, this is typically put on a schedule (a cron job on Linux, a Scheduled Task on Windows) so certificates renew silently in the background.
Note: if a certificate was originally issued using
--manual(a human completing a DNS/HTTP challenge by hand, as shown in this guide),certbot renewwill not be fully unattended unless you also configure automation hooks for the DNS/HTTP step. For a genuinely hands off production deployment, use a DNS provider plugin (for example, for Cloudflare or Route 53) instead of--manual.
Public CAs like Let's Encrypt allow anyone to register an ACME account anonymously. Enterprise CA platforms like CertiNext can't do that since every certificate needs to be tied to a specific, pre-approved account, organization, and certificate product. External Account Binding (EAB) is the mechanism that closes this gap.
When you create an ACME credential in the CertiNext Hub UI (Integrations > APIs > New API Credentials), you get back:
| Field | What it is |
|---|---|
| Key ID | A unique identifier for your credential. This doubles as your account identity. |
| Mac Key | A secret key used to cryptographically prove the credential is yours during account registration. |
| Directory URL | The ACME server address your client should point at. |
Important: each credential is scoped to exactly one certificate product (for example, OV SSL, OV UCC, or DV SSL). If you need to request more than one product type, create a separate credential for each. You cannot reuse one credential's Key ID and Mac Key across different products.
Replace every <PLACEHOLDER> with your own values before running.
certbot certonly --server https://sandbox-us-acme.certinext.io/v1/directory --eab-kid <YOUR_EAB_KEY_ID> --eab-hmac-key <YOUR_EAB_MAC_KEY> --manual --preferred-challenges dns -d <YOUR_DOMAIN> --email <YOUR_EMAIL> --agree-tos --no-eff-email --config-dir <PATH>\ovssl\config --work-dir <PATH>\ovssl\work --logs-dir <PATH>\ovssl\logs
certbot certonly --server https://sandbox-us-acme.certinext.io/v1/directory --eab-kid <YOUR_EAB_KEY_ID> --eab-hmac-key <YOUR_EAB_MAC_KEY> --manual --preferred-challenges dns -d <YOUR_DOMAIN_1> -d <YOUR_DOMAIN_2> -d <YOUR_DOMAIN_3> --email <YOUR_EMAIL> --agree-tos --no-eff-email --config-dir <PATH>\ovucc\config --work-dir <PATH>\ovucc\work --logs-dir <PATH>\ovucc\logs
(add as many -d <YOUR_DOMAIN_N> entries as needed, one per domain you want listed as a SAN on the certificate)
| Placeholder | What to put here |
|---|---|
<YOUR_EAB_KEY_ID> | The Key ID from your ACME credential |
<YOUR_EAB_MAC_KEY> | The Mac Key from that same credential |
<YOUR_DOMAIN> / <YOUR_DOMAIN_N> | The domain(s) you're requesting a certificate for |
<YOUR_EMAIL> | Your contact email |
<PATH> | Any folder on your machine where certbot should store its account data, certificates, and logs |
| Flag | Meaning |
|---|---|
certbot certonly | Only obtain the certificate. Don't try to install it into any webserver configuration. |
--server <url> | Which ACME server to talk to (CertiNext, instead of certbot's default of Let's Encrypt). |
--eab-kid <id> | Your credential's Key ID. Proves this request is pre-authorized. |
--eab-hmac-key <key> | Your credential's Mac Key. Cryptographically signs the proof above. |
--manual | Don't automate proof of ownership. Pause and print instructions for a human to act on. |
--preferred-challenges dns | Use a DNS TXT record as the proof method, as opposed to an HTTP file. |
-d <domain> | A domain this certificate should cover. Repeat for multiple domains (SANs). |
--email <address> | Contact email tied to the ACME account. |
--agree-tos | Pre-accepts the required terms of service, so the run doesn't stop to ask. |
--no-eff-email | Declines the EFF mailing list prompt, so the run doesn't stop to ask. |
--config-dir <path> | Where the registered account and the eventual certificate/key files are permanently stored. |
--work-dir <path> | Temporary scratch space certbot uses only while actively running. |
--logs-dir <path> | Where certbot's own run log is written. |
Directory discovery. certbot fetches <server>/directory, which returns the URLs for every other action (register account, place order, get a nonce, etc.).
Getting a nonce. Every signed request needs a fresh, server issued, single use random value (a nonce), used to prevent replay attacks. certbot fetches one to start, then harvests a new one from every subsequent server response.
Account registration. certbot generates its own key pair (this key signs every future request; it is not the certificate's key) and registers with the server, presenting the EAB Key ID and Mac Key as proof it's pre-authorized. If this check fails, nothing further happens.
Placing the order. certbot sends the domain(s) it wants. The server creates one authorization per domain. Ownership must be proven for every identifier individually, even if they'll all appear on the same certificate.
The challenge (DCV). For each domain, the server issues a token. certbot combines it with a fingerprint of its account key to produce the exact value you're told to publish as a DNS TXT record.
Verification. certbot asks the server to check each DNS record. Only once every domain's authorization is valid does the order become ready to proceed.
Finalize (CSR submission). certbot automatically generates a new, separate key pair for the certificate itself (distinct from the account key), builds a CSR covering all requested domains, and submits it.
Issuance. The CA signs the certificate. This step happens entirely on the CA's backend; the client can only wait and poll.
Download. certbot retrieves the finished certificate and chain, and saves them under --config-dir\live\<domain>\ as:
cert.pem, the leaf certificate only.chain.pem, the intermediate chain only.fullchain.pem, the leaf certificate and chain combined. This is the file most webservers expect.privkey.pem, the private key.The files inside live\<domain>\ are actually symlinks, not the real files. The real, versioned copies live in a separate archive\<domain>\ folder (this is how certbot keeps history across renewals). If you need to copy the certificate to another machine or server, copy the resolved file contents rather than assuming a plain folder copy of live\<domain>\ will work, since a symlink copy will not carry the actual data unless the tool used respects symlinks. certbot also drops a small README file in this folder explaining the same relationship.
| Method | How it proves ownership | Requirement |
|---|---|---|
--standalone (HTTP-01) | certbot temporarily runs its own webserver on port 80 and answers the check directly. | The domain's DNS must point to the exact machine running certbot, and port 80 must be free and reachable from the internet. |
--webroot (HTTP-01) | certbot drops a file into an already running webserver's folder; that existing server answers the check. | You need a webserver already running, serving that domain. |
--manual --preferred-challenges dns (DNS-01) | A human publishes a DNS TXT record with a value certbot provides. | You (or your DNS provider) can add a TXT record for the domain. Required for wildcard certificates. |
This guide uses the DNS method throughout, since it doesn't require the domain to point at any particular machine, only that you can publish a DNS record for it.