SSL/TLS

Automatic HTTPS certificates at the edge, verified encryption to your origin, free origin certificates, mTLS and HSTS.

On this page

OpenWAF encrypts both halves of every request to a proxied site. Visitors connect to the OpenWAF edge over HTTPS with a certificate that OpenWAF issues and renews for you. The edge then opens a second, separate connection to your server (the origin), and you choose how strictly it verifies that server's certificate.

visitor ──HTTPS (edge certificate)──▶ OpenWAF edge ──HTTPS (origin certificate)──▶ your origin

What you get

  • Edge certificates without any work. Every proxied name gets a Let's Encrypt certificate, renewed well before it expires. The edge accepts TLS 1.2 and TLS 1.3 only, and plain HTTP requests are redirected to HTTPS.
  • Verified encryption to the origin. In Full (strict) mode, the default for new zones, the edge checks the origin certificate's chain, dates, name and revocation status. If any check fails, visitors get a 526 error and nothing from an unverified origin is served.
  • Free origin certificates. The OpenWAF Origin CA issues certificates for your servers, valid for up to 15 years. Only the OpenWAF edge trusts them, which is all a server behind the proxy needs.
  • Authenticated origin pulls (mTLS). The edge can present a client certificate, so your server refuses every connection that doesn't come through OpenWAF.
  • HSTS. Tell browsers to always use HTTPS for your sites.

Start here

Where to manage it

TaskDashboardCLIAPIMCP
Edge certificate statusSSL/TLS › Certificatescerts listGET …/zones/{zone}/certslist_certificates
Origin mode, SNI name, mTLSSSL/TLS › Originzones setPATCH …/zones/{zone}/edgeupdate_settings
Origin statusSSL/TLS › Originorigin-tls statusGET …/zones/{zone}/origin-tls/statusorigin_tls_status
Origin certificatesSSL/TLS › Originorigin-certs…/zones/{zone}/origin-certscreate_origin_cert, list_origin_certs, revoke_origin_cert
HSTSSSL/TLS › Certificateszones setPATCH …/zones/{zone}/edgeupdate_settings

Setting changes are versioned like every other zone change: each one needs a reason, creates a new zone version and can be reverted. See Change control.

Last updated:

↑↓ to navigate↵ to openesc to close