This topic describes the benefits and usage notes of HTTPS secure acceleration and how it works. HTTPS secure acceleration is used to encrypt HTTPS connections between clients and Alibaba Cloud CDN edge nodes. HTTPS ensures data security during transmission.
What is HTTPS?
HTTP transmits data in plaintext and does not encrypt data. HTTPS is an extension of HTTP and is designed to ensure data security. In HTTPS, the communication protocol is encrypted by using Transport Layer Security (TLS), formerly known as Secure Sockets Layer (SSL). HTTPS is used to encrypt connections. HTTPS is widely used to protect sensitive user data for services such as payment transactions.
How it works
After you enable HTTPS in the Alibaba Cloud CDN console, requests are transmitted from clients to Alibaba Cloud CDN edge nodes over encrypted HTTPS connections. If you want to enable end-to-end HTTPS encryption, you must enable CDN edge nodes to redirect requests to origin servers over HTTPS. Make sure that the origin servers support HTTPS.
- In the Alibaba Cloud CDN console, set the public and private keys of the SSL certificate
on CDN edge nodes.
Note You can acquire the public and private keys by applying for or uploading an SSL certificate.
- The edge node sends the public and private keys to the client.
- The client parses the public key to verify the validity.
Note A certificate is considered valid only if the following requirements are met:
- If the public key is valid, the client generates a random number as a private key. The client uses the public key to encrypt the random number and transmits the number (private key) to the edge node.
- If the public key is invalid, SSK handshakes fail. You must configure a valid SSL certificate.
- The certificate is not expired.
- The certificate is issued by a trusted certificate authority (CA).
- The public key of the certificate can decrypt the certificate signature signed by the CA.
- The domain name on the certificate matches the accelerated domain name.
- The edge node uses the private key to decrypt the encrypted random number.
- The edge node uses the random number to encrypt data transmission.
- The client uses the random number to decrypt the received data.
- HTTPS secure acceleration protects communications from eavesdropping, tampering, impersonation attacks, and man-in-the-middle (MITM) attacks.
- HTTPS encrypts sensitive information such as session IDs and cookies before transmission. This minimizes the risk of sensitive information leaks.
- HTTPS checks data integrity during transmission to protect the data from MITM attacks, such as DNS hijacking and tampering.
- HTTPS is the new standard. An increasing number of mainstream browsers such as Google Chrome 70 and later and Mozilla Firefox have labeled HTTP web URLs as not secure since 2018. If you choose to use HTTP, your website may be exposed to security risks. Users who visit your website by using these browsers are prompted that this website is not secure. This compromises user experience and may reduce visits to the website.
- Mainstream search engines have a higher weight for HTTPS-capable websites. After you enable HTTPS for your website, the website can achieve a higher ranking in search engine optimization (SOE). HTTP/2 is supported by a growing number of browsers because HTTP/2 outperforms HTTPS. A website must support HTTPS before it can support HTTP/2. HTTPS is a more reliable choice in terms of security, market presence, and user experience. Therefore, we recommend that you upgrade your communication protocol to HTTPS.
|Enterprise applications||HTTPS protects confidential information on enterprise websites from being hijacked or intercepted. Confidential information, such as customer relationship management (CRM) data and enterprise resource planning (ERP) data, is protected during transmission.|
|Public service websites||HTTPS protects sensitive information on public service websites against attacks such as phishing and hijacking. Leaks of such information may compromise public trust.|
|Payment systems||HTTPS protects sensitive data such as customer names and phone numbers used in payment transactions against hijacking and spoofing. If sensitive data is leaked, attackers can use such data to trick customers into making duplicate payments. This causes losses to both the customer and the enterprise.|
|API operations||API operations can use HTTPS to encrypt important information, such as sensitive data and important instructions. This protects the information against hijacking.|
|Enterprise websites||HTTPS improves user trust and experience. Web browsers display a lock icon in the address bar for websites with domain validated (DV) or organization validated (OV) certificates. The enterprise name is displayed together with the lock icon for websites that include extended validated (EV) certificates.|
Usage notes on enabling and disabling HTTPS:
HTTPS secure acceleration is a value-added service. After you enable HTTPS, you are charged based on the number of HTTPS requests. For more information, see Billing of value-added services.
Note HTTPS requests are separately billed and the fees cannot be offset by data transfer plans of Alibaba Cloud CDN. Before you enable HTTPS secure acceleration, make sure that you have a sufficient balance in your Alibaba Cloud account. If the balance is insufficient, Alibaba Cloud CDN may be suspended.
Enable HTTPS secure acceleration
- Use SSL Certificates Service to prepare an SSL certificate.
The following types of SSL certificate are supported. Choose a type based on your business requirements and configure an SSL certificate in the SSL Certificates Service console.
- Enable HTTPS in the Alibaba Cloud CDN console.
- Required:After you prepare an SSL certificate, you must configure it before HTTPS can be enabled. For more information, see Configure an SSL certificate.
- Optional:You can configure advanced features such as URL redirection based on business requirements.
Feature Description Enable HTTP/2 HTTP/2 is a binary protocol developed based on HTTP/1.1. HTTP/2 significantly improves web performance and reduces latency by enabling multiplexing and header compression. HTTP/2 is supported by mainstream browsers, including Google Chrome, Microsoft Edge, Safari, and Mozilla Firefox. Configure URL redirection Redirects requests to HTTP or HTTPS. Configure HSTS Forces clients such as browsers to communicate with servers over HTTPS. This reduces the risk of cookie hijacking. Configure TLS version control Ensures communication security and data integrity. Configure OCSP stapling Caches certificate verification results and sends the results to clients without requiring the clients to verify certificates with the CAs. This reduces the verification time.