If your origin IP address is bound to multiple domains, you must set a Server Name Indication (SNI) value to ensure that the Dynamic Route for CDN (DCDN) node can access your origin server over HTTPS.
SNI is an extension of Transport Layer Security (TLS) by which a client determines which hostname it is attempting to connect to at the beginning of the handshake process. This allows a server to present multiple certificates on the same IP address and TCP port. In this way, multiple HTTPS websites (or any other service over TLS) that have different certificates can be served by the same IP address.
- The DCDN node sends an HTTPS access request to the origin server. The requested domain is included in SNI.
- After the origin server receives the request, it returns the certificate of the requested domain to the DCDN node.
- After the DCDN node receives the certificate, it establishes a secure connection to the origin server.
- Log on to the DCDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, find the domain name that you want to manage, and click Configure in the Actions column.
- In the left-side navigation pane on the details page of the specified domain, click Origin Fetch.
- On the Origin Fetch tab, find Origin SNI.
- Turn on Origin SNI, and enter the name of the domain to be requested.
In Alibaba Cloud DCDN, SNI specifies a domain name of your origin server. If your origin server uses one IP address to provide HTTPS services for multiple domains, you must set an SNI value to specify the requested domain name, for example,
- Click OK.