✓ Solved

Encountering unexpected errors when uploading a created SSL certificate to object storage for a static site

I am attempting to follow the guide at https://www.linode.com/docs/guides/host-static-site-object-storage/; I have run into issues where the documentation no longer helps me get through making a static site available under an apex domain.

I already have the desired domain managed through Linode.
I have created an object storage bucket, uploaded the artifacts I want, and can visit them at the http://[bucket].website-[cluster].linodeobjects.com host. I have also created a CNAME record that points to the website bucket and verified that I can curl the site content from the CNAME record's host. Next, I am attempting to follow the https://www.linode.com/docs/products/storage/object-storage/guides/custom-domain/ guide to register a custom domain using a letsencrypt cert so that I can visit the domain using HTTPS.

I was able to successfully generate a certificate via certbot but when I attempted to upload it to the bucket under the "SSL/TLS" tab, I get the following error message:

Certificate is not valid for the bucket name. Verify the bucket name is covered by the SANs and/or CN.

This question has been asked before, but I can't find any steps to resolve this.
Any help would be appreciated!

1 Reply

✓ Best Answer

I discovered my issue, the bucket I created had a typo that did not fully match the name expected by the certificate. For future people who run into this error, make sure that you created the bucket with the appropriate name as found in this section of the docs https://www.linode.com/docs/products/storage/object-storage/guides/custom-domain/#create-a-bucket


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct