When I access a custom origin domain over HTTPS, an error is reported.
The certificate configuration is incorrect or the custom origin domain is not configured.
Log in to the COS console.
Click Bucket List on the left sidebar.
Click the name of the target bucket to go to the configuration page.
Click Domains and Transfer > Custom Endpoint.
Select the target domain and click Bind Certificate to configure the certificate.
When the value of HTTPS certificate is Uploaded, you can use HTTPS.
For more information, see Supporting HTTPS for Custom Endpoints.