SSL Manager
Easy DevOps issues Let's Encrypt certificates using the pure Node.js acme-client library — no certbot binary needed.
Challenge Methods
| Method | How it works | Best for |
|---|---|---|
| HTTP-01 | nginx keeps running. Every port-80 server block proxies /.well-known/acme-challenge/ to a loopback listener Easy DevOps starts on acmeChallengePort (8089 by default); only a graceful reload is used. Standalone mode — which stops nginx and always restores it — is the fallback for a machine where nginx is not installed or not running, or an explicit setting. | Standard single domains and SAN certs (fastest) |
| DNS-01 | You add a _acme-challenge TXT record to your DNS provider; Easy DevOps waits for propagation, then confirms. | Wildcard certs (*.example.com) and domains behind a firewall |
*.example.com) require DNS-01. HTTP-01 issuance for a wildcard is refused.Preflight
Before a certificate request reaches Let's Encrypt, Easy DevOps checks that the issuance can actually succeed. This is not a formality: a failed validation counts against Let's Encrypt's rate limits, and a domain whose DNS does not point here yet would spend one every time someone pressed the button.
| Checked | What it proves |
|---|---|
| DNS | Every name — including www when chosen — resolves to an A or AAAA address. A name with no record, or a lookup failure, stops here with the record to add. |
| IPv6 | An AAAA record that points somewhere else is caught before validation: Let's Encrypt would try it and fail. Reported as skipped for DNS-01 and standalone. |
| HTTP path | A throwaway token is served and fetched back through nginx, on this machine, at the address nginx actually listens on. A redirect, a proxy interception or a missing challenge location is named. Reported as skipped for DNS-01 and standalone (which binds port 80 itself). |
| Cloudflare | A proxied name is recognised, so the later HTTPS check is reported as served by Cloudflare's edge rather than compared against the origin. |
A failure stops the operation before the account or the order exists. The result names the preflight step, the real cause and a one-line fix — for example the exact A record to create, or a note that port 80 is firewalled. Nothing was requested, so no rate limit was spent.
The checks come back with the answer. Every issue, renew and renew-all response carries a preflight array of { id, status, message, fix } — on success as well as failure — so the page lists each check and its one-line fix. It is null only when the request stopped before the checks ran, such as a missing ACME email.
After the files are written, HTTPS is verified by comparing the certificate the server actually serves with the file on disk (X509 fingerprint). Behind Cloudflare that check is skipped, because the edge terminates TLS.
Live stages
Issuing or renewing a certificate reports every stage as it happens, in the dashboard, the CLI and the Hub. They are the same nine stages everywhere, in order:
| # | Stage | What happens |
|---|---|---|
| 1 | preflight | The checks above. A failure ends here and nothing is requested. |
| 2 | account and order | The ACME account is loaded and the order created. |
| 3 | challenge ready | The token is being served: through nginx for HTTP-01, or the TXT record you add for DNS-01. |
| 4 | waiting for validation | Let's Encrypt is fetching it. This stage is re-sent with elapsed time, so a slow validation is visibly slow rather than stuck. |
| 5 | certificate received | The signed certificate came back. |
| 6 | files written | fullchain.pem and privkey.pem are on disk. |
| 7 | nginx config test | nginx -t with the new paths. Reported as skipped for DNS-01 and standalone. |
| 8 | nginx reload | A graceful reload, so the new certificate is the one being served. Also skipped for DNS-01 and standalone. |
| 9 | https verified | The served certificate matches the file. skipped as served by Cloudflare's edge when the name is proxied. |
- Every stage has an outcome —
running, thenok,failedorskipped— with elapsed time and a short detail. - A detail never contains a secret — PEM blocks are stripped and the text is capped at 300 characters. Certificate paths and key material are never in an event.
- Stages are not replayed. A tab opened mid-issuance waits for the next stage; it is not shown a stale "waiting for validation".
- The operation is bounded at five minutes. A stage that runs out of time fails, naming the stage, instead of leaving the request open.
Linking a domain that issues a certificate reports the same list, and the link dialog shows it live: domain, then the certificate stages, then https (switch the domain to the new certificate), nginx config test, nginx reload and https verified. A link that reuses an existing certificate skips the issuer stages; a link with SSL off reports https: skipped and still tests and reloads nginx. A failed link is reported once, with its cause and what to do next.
Automatic Renewal
The background service (ezz service install) renews certificates on its own, so nothing has to be open. Without the service, the same job runs while the dashboard is open.
- HTTP-01 certificates are renewed 7 days before they expire. Change the window (1–30 days) or switch it off in Settings, in the dashboard or the CLI.
- nginx is never stopped by an unattended renewal. It uses proxy mode only, then reloads nginx so the new certificate is the one being served.
- A renewal keeps the certificate's names. One issued with
wwwis renewed withwww. - DNS-01 certificates (every wildcard) are not renewed automatically. They need a TXT record you add at your DNS provider. They keep getting the expiry warning, which says a manual renewal is needed.
- Certificates no enabled domain uses are left alone, so a leftover cannot spend Let's Encrypt's failure budget.
- You are notified either way — "renewed" or "renewal failed, and why" — on the channels set for that domain's certificate-expiry event. The job runs every 12 hours and once at every daemon start; a failed attempt is not retried sooner than 6 hours after the previous one, so a restart loop cannot burn Let's Encrypt's failed-validation budget.
What each certificate's plan is
GET /api/ssl reports a plan for every certificate, and the SSL page shows it next to the expiry badge:
| Plan | Meaning |
|---|---|
| auto | HTTP-01, used by an enabled domain, renewal switched on. Renewed in the background inside the window, with the last attempt recorded. |
| manual | Validated over DNS-01 (every wildcard). It needs a TXT record a person adds, so it is never renewed unattended; the expiry warning says so. |
| unused | No enabled domain serves it. Left alone, so a leftover cannot spend the failure budget. |
| off | The certificate would qualify, but sslAutoRenew is off. Only the expiry warning remains. |
| Setting | Default | Meaning |
|---|---|---|
sslAutoRenew | true | Renew HTTP-01 certificates in the background. |
sslAutoRenewDays | 7 | How many days before expiry to renew (1–30). |
Certificate Status
| Status | Badge | Meaning |
|---|---|---|
| Valid | VALID | Expires in more than 30 days. |
| Expiring | EXPIRING | Fewer than 30 days remain. Renewal is in the window if automatic renewal covers it. |
| Expired | EXPIRED | Already past its expiry. The list shows the days overdue rather than clamping it to zero. |
| Not issued yet | NOT ISSUED YET | The certificate folder exists but no certificate was ever written — what a failed first issuance leaves. There is no date to show, and it is not an error. |
| Unreadable | UNREADABLE | fullchain.pem exists but neither Node nor openssl can parse it. A leftover or broken folder — Delete it here. |
Certificate suggestion
Adding a domain with SSL off does not make you retype a certificate path. The form asks the dashboard for a suggestion and shows the certificate it found, with the match it used:
| Match | Why it was chosen |
|---|---|
| exact | The certificate directory is named after the domain — how every certificate issued here is stored. |
| san | One of the certificate's names is the domain itself (for example a certificate issued for example.com that lists api.example.com). |
| wildcard | A name like *.example.com covers the domain — exactly one label, because it does not cover a.b.example.com. |
Exact beats SAN beats wildcard, and among wildcards the most specific suffix wins. A certificate that cannot be read is never suggested. The suggestion is a form value only: the paths are written when you save the domain. The lookup is GET /api/domains/:name/ssl-suggestion.
Deleting a certificate
The SSL page offers Delete on a certificate whose files cannot be read (the error state), which is how a leftover or broken certificate folder is cleaned up. The same removal is available for any certificate through the API and from the Hub. It removes the certificate's directory (fullchain, private key and metadata) and cannot be undone.
- Refused while an enabled domain still uses it. The answer names the nginx config files and line numbers that reference it, so you can disable SSL on those domains (or remove the lines) first. Nothing is deleted on a refusal.
- Deleting certificate files never edits nginx for you — that is the point of the refusal.
- API:
DELETE /api/ssl/:domain. From the Hub the same action needs thessl.deletepermission.
Certificate File Structure
{sslDir}/{domain}/fullchain.pem ← Certificate chain
{sslDir}/{domain}/privkey.pem ← Private key
{sslDir}/{domain}/ez-cert.json ← How it was validated (proxy, standalone or DNS-01)
{sslDir}/.account/account.key ← ACME account key (reused across issuances)Defaults: Linux /etc/easy-devops/ssl/ · Windows C:\easy-devops\ssl\