Resolving certificate error
Written by
Updated at November 27, 2023
Issue description
When using a bucket, you see the certificate error: err_cert_common_name_invalid
or ssl_error_bad_cert_domain
.
Solution
Perhaps, a CNAME record has been created in the domain management panel, pointing to the <bucket-name>.storage.yandexcloud.net
subdomain.
Change its content to <bucket-name>.website.yandexcloud.net
, where <bucket-name>
is the name of your bucket.
To learn how to set up a custom domain, see here.