SSL/TLS

更新时间:
复制 MD 格式

ESA provides SSL/TLS configuration to encrypt your network traffic and prevent data theft and tampering.

Key concepts

SSL/TLS protocol and certificates

SSL is a security protocol between TCP/IP and application layers that authenticates servers and encrypts data. Its IETF-standardized version is TLS. Both are commonly called SSL/TLS.

An SSL/TLS certificate is a CA-issued digital certificate that verifies website identity and encrypts data in transit.

HTTPS uses an SSL/TLS certificate to establish an encrypted HTTP connection, authenticating the website and securing data in transit.

Why use HTTPS encryption?

  • Improve security: HTTPS prevents eavesdropping, tampering, and hijacking of sensitive data such as session IDs and cookies.

  • Enhance user experience: Browsers display "insecure" warnings for HTTP sites, eroding user trust.

  • Boost SEO: Major search engines prioritize HTTPS sites, improving your search ranking.

End-to-end HTTPS encryption

SSL/TLS configuration covers two segments: the access link and the origin-fetch link.

Access link

The access link encrypts traffic between a client and an ESA POP. Configure it with edge certificate and client certificate settings.

  • Edge certificate: Enables one-way authentication where the client verifies the ESA POP identity. Once configured on the ESA POP with SSL/TLS enabled, client-to-POP communication uses HTTPS.

    Edge Certificates Encryption flow:image
  • Client certificate: Enables mutual authentication (mTLS). Install an ESA-issued certificate on the client and enable verification. ESA then validates client certificates for mutual identity authentication.

    Client Certificates Encryption flow:image

Origin-fetch link

The origin-fetch link encrypts traffic between your origin server and the ESA node. Configure origin fetch protocol and port, origin certificate verification, and mutual authentication for origin fetch.

Origin-fetch encryption flow:image

Features

Feature

Description

Edge Certificate

Delegated Domain Control Validation

Add a CNAME record to your site's authoritative DNS to delegate the DCV check for free certificate applications to ESA. ESA automatically issues and renews free certificates.

Force HTTPS redirection

Force HTTP requests sent to Edge Security Acceleration (ESA) POPs to redirect to HTTPS.

TLS cipher suite and protocol version

When a client sends an HTTPS request to an Edge Security Acceleration (ESA) POP, the client and POP negotiate a TLS cipher suite and protocol version through a TLS handshake. Configure these settings to balance security and compatibility.

OCSP stapling for edge certificates

The OCSP stapling feature enables Edge Security Acceleration (ESA) to pre-cache online certificate validation results and deliver them to clients. This eliminates the need for clients to directly query the CA for certificate status, which reduces certificate validation time and improves user access speed.

Opportunistic encryption

Opportunistic encryption enables browsers to access HTTP links over a TLS connection. This enhances security for sites that have not fully migrated to HTTPS.

HSTS

Enable HTTP Strict Transport Security (HSTS) to force clients such as browsers to connect to Edge Security Acceleration (ESA) POPs over HTTPS.

Client Certificate

Client certificate issuance

Use the CA provided by ESA to create client certificates and deploy them to your mobile applications. ESA generates a unique CA per account, and all certificates from this CA are automatically trusted by ESA POPs.

Bind a domain name

Bind a client certificate to hostnames to enable mTLS. Only clients with a valid certificate can access the bound hostnames.

Block failed authentication requests

Configure a Web Application Firewall (WAF) rule to block requests that fail client certificate authentication.

Origin Certificate

Origin protocol and port

Configure which protocol and port ESA POPs use when fetching resources from your origin server.

Origin certificate verification

By default, ESA does not validate origin certificates during HTTPS origin fetch. For high-security scenarios, enable Enforce Validation of Origin Certificate to prevent hijacking of origin traffic. When enabled, ESA validates the origin certificate's expiration date, domain name match, and root CA. If verification fails, the TLS handshake fails and a 502 status code is returned.

Mutual authentication for origin fetch

Mutual TLS (mTLS) requires both client and server to authenticate each other.

Availability by edition

Feature category

Detailed feature

Free (0 CNY/month)

Basic (9.9 CNY/month)

Standard (375 CNY/month)

Advanced (3600 CNY/month)

Enterprise (contact sales for custom pricing)

SSL/TLS

Edge certificate - Let's Encrypt free certificate

5

10

30

50

100

Edge certificate - Digicert free certificate

Not supported

1

10

20

50

Edge certificate - Upload custom certificate

2

5

10

20

50

Certificate availability check

Supported

Supported

Supported

Supported

Supported

Edge certificate - Enforce HTTPS

Supported

Supported

Supported

Supported

Supported

Edge certificate - TLS cipher suite and protocol version configuration

Supported

Supported

Supported

Supported

Supported

Edge certificate - OCSP Stapling

Supported

Supported

Supported

Supported

Supported

Edge certificate - Opportunistic encryption

Supported

Supported

Supported

Supported

Supported

Edge certificate - HTTP Strict Transport Security (HSTS)

Supported

Supported

Supported

Supported

Supported

Origin certificate - Origin protocol and port

Supported

Supported

Supported

Supported

Supported

Origin certificate - Origin certificate validation

Supported

Supported

Supported

Supported

Supported

Origin certificate - Origin mutual authentication

Supported

Supported

Supported

Supported

Supported