If your origin IP address is bound to multiple domains, you must configure a back-to-origin Server Name Indication (SNI) to your domain to ensure that the CDN node is able to access your origin site 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 number. This also allows multiple HTTPS websites (or any other service over TLS) that have different certificates to be served by the same IP address.
- The CDN node requests to access the origin server over HTTPS, where the requested domain is specified in the SNI.
- After receiving the request, the origin server sends the certificate of the requested domain to the CND node.
- After receiving the certificate, the CDN node establishes a secure connection to the origin server.
- Log on to the Alibaba Cloud CDN console.
- In the left-side navigation pane, click Domain Names.
- On the Domain Names page, find the target domain name and click Manage.
- In the left-side navigation pane of the specified domain, click Back-to-origin.
- In the Origin SNI section, click Modify.
- Turn on Origin SNI, and enter the name of the domain served by your origin server.
- Click OK.