Common Name whitelist

更新时间:
复制 MD 格式

Points of presence (POPs) compare the certificate Common Name that is returned by the origin server with the server name indication (SNI) value that is included in an HTTPS request. If the SNI value does not match the Common Name, the origin fetch request fails. After you add the certificate Common Name to the whitelist, origin fetch requests can complete even if the SNI value does not match the Common Name.

Examples

If the SNI value does not match the Common Name, the POP fails to establish a connection to the origin server, as shown in the following figure.

image

If you add domain2 to the Common Name whitelist, the connection can be established successfully.

image

Procedure

  1. Log on to the CDN console.

  2. In the left navigation pane, click Domain Names.

  3. On the Domain Names page, find the target domain name and click Manage in the Actions column.

  4. In the domain's navigation pane, click Origin Fetch.

  5. In the Common Name Whitelist section, turn on Common Name Whitelist.

  6. In the dialog box, enter one or more domain names in the whitelist field. Separate multiple domain names with a comma.

  7. Click OK.