[Yandex Cloud documentation](../../../index.md) > [All solutions](../../index.md) > [Object Storage](../index.md) > Resolving certificate error

# Resolving certificate error



## Issue description {#issue-description}

When using a bucket, you see the certificate error: `err_cert_common_name_invalid` or `ssl_error_bad_cert_domain`.

## Solution {#issue-resolution}

A CNAME record might have 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.

For configuring your own domain, see [this guide](../../../storage/operations/hosting/own-domain.md).