HTTPS and TLS
How Easel issues, renews, and serves certificates for every hostname, plus HSTS, CAA, and proxies in front of Easel.
Easel serves every hostname over HTTPS and manages the certificates for you. You never upload certificate files or private keys.
What's covered
- Easel domains, deployment URLs, and preview URLs under
tryeasel.app(and older ones underpreview.easelusercontent.com) use a platform wildcard certificate, so HTTPS works as soon as the URL exists. - Custom domains get their own Let's Encrypt certificate after DNS points at Easel. Redirect domains get one too, so visitors don't see a certificate warning before the redirect.
Each hostname needs its own certificate. Adding example.com doesn't cover
www.example.com or api.example.com; add each hostname you serve. Uploaded
certificates aren't supported. A workspace wildcard domain gets one wildcard
certificate, validated over DNS-01, for the names assigned under it; see
Set up your domains.
Certificate details
| Item | Value |
|---|---|
| Certificate authority | Let's Encrypt |
| Validation | HTTP-01, or DNS-01 when _acme-challenge is delegated to Easel |
| Key type | ECDSA P-256 |
| Protocols | TLS 1.2 and 1.3; HTTP/1.1 and HTTP/2 |
| Renewal | Automatic, starting 30 days before expiry |
Issuance
- You add the domain and configure DNS.
- Easel verifies DNS, and the domain shows Issuing certificate.
- Easel requests the certificate on the first HTTPS request to the hostname. The dashboard's own check makes that request, so you don't need to send traffic.
- The domain shows Live once HTTPS works.
HTTPS connections to the hostname fail until issuance finishes. If issuance fails, for example because Let's Encrypt still sees old DNS records, Easel retries automatically and waits longer after each failed attempt, up to an hour. If a domain stays stuck, check its status and last error in the dashboard rather than removing and re-adding it. See Troubleshooting.
Renewal
Easel renews certificates in the background, without a new deployment, as long as:
- The domain stays assigned to the project
- DNS still points at Easel, directly or through a proxy
- HTTP-01 validation can reach Easel, or the
_acme-challengerecord stays in place - CAA records still permit Let's Encrypt
An existing certificate keeps working for a while after DNS breaks, but renewal won't succeed. When Easel's recheck finds the record changed or missing, the domain stays Live, its row shows Check DNS with what to change, and the workspace's owners and admins get one email. Renewal succeeds again once DNS is fixed.
HTTP to HTTPS redirect
Easel redirects plain HTTP requests to HTTPS with a 301, keeping the path and
query string. Your app doesn't need to handle it.
Requests to /.well-known/acme-challenge/ aren't redirected, so certificate
validation keeps working.
HSTS
Easel sends this header on every response:
It tells browsers to use HTTPS for the hostname for two years. If you set a
stricter policy yourself, be deliberate: includeSubDomains applies to every
subdomain, including ones not hosted on Easel, and browser preload lists are
hard to leave. For other response headers, see
Security headers.
CAA records
CAA records limit which certificate authorities can issue for your domain. If you have any, they must permit Let's Encrypt, or issuance and renewal fail:
Check CAA on both the exact hostname and its parent domain.
DNS proxies
A proxy in front of Easel, such as Cloudflare's orange cloud, can stay on for a custom domain; for setup, see Use Cloudflare's proxy.
A proxied record answers DNS lookups with the proxy's addresses, so Easel can't
use it to verify the domain, and HTTP-01 validation would depend on the
proxy's rules. Instead, the domain's _acme-challenge record is a CNAME to a
name unique to the domain, under Easel's ACME challenge zone:
- It proves control of the domain's DNS, which the proxied record can't.
- While it's in place, Easel validates the domain's certificate with DNS-01: Easel writes the challenge's TXT value at that name, and Let's Encrypt follows the CNAME to it. Issuance and renewal never pass through the proxy.
The name is used for this domain only and is never given to another domain, even after you remove it. A record you forget to delete can't be used to get certificates.
Check HTTPS
The first should succeed without a certificate error, and the second should
redirect to HTTPS. -servername sends the hostname during the TLS handshake,
so you see the certificate Easel serves for it.