# SSL certificates

> Free Let's Encrypt certificates for websites, mail and the panel in Zopanel for Windows: renewal, your own panel certificate, the wildcard limit.

Source: https://zopanel.net/windows/docs/ssl  
Updated: 2026-11-27

Zopanel issues Let's Encrypt certificates for websites, the mail host and the panel itself, and renews them automatically. Certificates go into the Windows certificate store with a private key that cannot be exported, and HTTPS bindings use SNI.

## Turn on Let's Encrypt once

Nobody can issue certificates until an administrator accepts the Let's Encrypt Subscriber Agreement for this panel. You do this in the setup wizard, with `ACME_AGREE_TOS=1` on the MSI, or later:

- **Security** → **Free SSL certificates (Let's Encrypt)**: tick to accept and save; or
- on the panel server: `& 'C:\Program Files\Zopanel\installer\zopanel-setup.exe' letsencrypt -agree-tos`

Until then, requests fail with `ACME_NOT_CONFIGURED`.

## Issue a certificate for a website

1. The domain and its `www` alias point at the server (A/AAAA records).
2. Port 80 is open from the Internet: Let's Encrypt checks the name over HTTP (HTTP-01).
3. The name is verified in the panel.
4. Open the site's **Domain and HTTPS** tab and request the certificate, then turn on **Always use HTTPS**.

Renewal is automatic. Status: available on Server 2019, 2022 and 2025.

## The panel's own certificate

The panel starts with a self-signed certificate. To give it a real one: **Security** → **The panel's certificate**, type the panel name (the same as the panel address), **Save name**, then **Use Let's Encrypt**. On a server without IIS, the panel answers the HTTP-01 check on port 80 itself. Agents are not affected when the panel certificate changes. Status: limited (see known issues: the panel does not request a new certificate by itself when you switch from the staging CA to production; request it again by hand).

## Mail and webmail

When TLS for mail is on, the mail host name gets its own certificate and webmail is served over HTTPS. See [Email](/windows/docs/mail).

## Wildcard certificates and DNS-01

Wildcard certificates (`*.example.com`) need DNS-01 validation, which Zopanel does **not** support yet. Each name (`example.com`, `www.example.com`, `shop.example.com`) gets its own HTTP-01 certificate instead.

## Your own certificate

For the **panel**, you can upload your own certificate: **Security** → **The panel's certificate** → **Upload a certificate**, as a PFX with its password or as a PEM chain and private key. It must cover the panel's name. Uploaded certificates do not renew themselves; the panel warns before they expire.

For **websites**, the panel manages Let's Encrypt certificates only. There is no upload form for a purchased (OV/EV or wildcard) website certificate yet. Plan for this before migrating customers who use one.

## When issuing fails

| Message or code | Meaning | Fix |
|---|---|---|
| `ACME_NOT_CONFIGURED` | Terms not accepted | See "Turn on Let's Encrypt once" |
| `ACME_DNS` | No public A/AAAA record yet | `Resolve-DnsName <name> -Server 1.1.1.1` |
| `ACME_CONNECTION` | Let's Encrypt could not reach port 80 | Open port 80 in Windows and in your provider's firewall |
| `ACME_INCORRECT_RESPONSE`, `ACME_UNAUTHORIZED` | A redirect, the WAF in blocking mode, or a CDN proxy blocks `/.well-known/acme-challenge/` | Turn off the CDN proxy while issuing; check redirects |
| `ACME_CAA` | A CAA record does not allow Let's Encrypt | Add `CAA 0 issue "letsencrypt.org"` |
| `ACME_RATE_LIMITED` | Let's Encrypt limit hit | Wait; the panel retries its own certificate after 6 hours |

An AAAA record that points elsewhere also breaks validation: Let's Encrypt prefers IPv6. Fix or delete it.
