Documentation menu

Docs › Delivery

TLS and certificates

Every site on Cache.bz is served over HTTPS. We issue and renew certificates automatically, or you can upload your own.

Managed certificates

When you add a hostname, we request a certificate from a public certificate authority as soon as DNS points at us. Renewal starts 30 days before expiry and needs no action. Managed certificates use ECDSA P-256 keys, with an RSA 2048 certificate also served to the few clients that need it.

To issue a certificate before you switch DNS, for a zero-downtime migration, add the validation record shown in the dashboard:

DNS record
_acme-challenge.www.example.com.  300  IN  CNAME  www.example.com.validate.cache.bz.

Protocols and ciphers

  • TLS 1.3 and TLS 1.2. TLS 1.0 and 1.1 are not supported.
  • HTTP/1.1, HTTP/2 and HTTP/3 over QUIC, negotiated with ALPN.
  • TLS 1.2 cipher suites are limited to ECDHE with AES-GCM or ChaCha20-Poly1305.
  • OCSP stapling for every certificate, and session resumption with rotating ticket keys.

Custom certificates

On Business and Enterprise plans you can upload your own certificate, for example an extended validation certificate or one from an internal CA.

Shell
cachebz certs upload \
  --site site_7Hq2xK \
  --cert fullchain.pem \
  --key  privkey.pem

# Certificate cert_9JkR2 active on www.example.com (expires 2027-09-30)

Origin TLS

Connections from Cache.bz to your origin use TLS by default and verify the origin certificate against public roots. You can relax or tighten this per origin:

TOML
[[origins]]
name = "default"
host = "origin.example.com"
tls  = { verify = "strict", sni = "origin.example.com", min_version = "1.2" }

# Pin a private CA for an internal origin
# tls = { verify = "strict", ca_file = "certs/internal-ca.pem" }

HSTS

Enable HTTP Strict Transport Security once all your subdomains serve HTTPS:

TOML
[site.security]
hsts = { max_age = "365d", include_subdomains = true, preload = false }
redirect_http = true
Was this page helpful? Tell us what was missing at support@cache.bz. Every message is read by the team that writes these docs.