This topic describes how to add an additional certificate to a listener of a Classic Load Balancer (CLB) instance.
- Log on to the CLB console.
- On the Instances page, click the ID of the CLB instance that you want to manage.
- On the Listeners tab, find the HTTPS listener and choose in the Actions column.
- In the Manage Additional Certificate panel, click Add Additional Certificate.
- Enter a domain name. The domain name can contain only letters, digits, hyphens (-),
and periods (.).It must start with a letter or a digit. Domain name-based forwarding rules include exact matching and wildcard matching.
- Exact domain name: www.aliyun.com
- Wildcard domain name: *.aliyun.com, *.market.aliyun.com
When a request matches multiple forwarding rules, exact matching prevails over exact wildcard matching, and exact wildcard matching prevails over less exact wildcard matching. The following table describes the priorities of domain name-based forwarding rules.
Type Request URL Domain name-based forwarding rule www.aliyun.com *.aliyun.com *.market.aliyun.com Exact match www.aliyun.com √ × × Exact wildcard matching market.aliyun.com × √ × Less exact wildcard matching info.market.aliyun.com × × √
- Select the certificate associated with the domain name. Note
- The domain name in the certificate must be the same as the domain extension that is added.
- If you configure wildcard domain certificates, only the first wildcard domain certificate can be automatically matched.
- Click OK. An additional certificate takes effect only when it is configured with a forwarding rule and the domain name specified in the rule is the same as that in the additional certificate.
- Enter a domain name. The domain name can contain only letters, digits, hyphens (-), and periods (.).It must start with a letter or a digit.
- Optional:Perform the following steps to configure a forwarding rule.
- On the Note page, click Configure Rule. Alternatively, click the ID of the CLB instance on the Instances page and click the Listeners tab.
- Find the HTTPS listener and click Add Forwarding Rules in the Actions column.
- In the Add Forwarding Rules panel, click Add Forwarding Rules.
- Configure the forwarding rule. For more information, see Forward requests based on domain names or URLs.Note Make sure that the domain name configured in the forwarding rule is the same as the domain extension that is added.