Report this

What is the reason for this report?

DigitalOcean spaces with Cloudflare

Posted on March 20, 2023

Hello! I found a similar issue in the following thread: https://www.digitalocean.com/community/questions/cdn-subdomin-url-and-cloudflare but it doesn’t work for me.

I did the following:

  • Created a new space on DO, chose to work with CDN (and received an address, for example https://<bucket>.ams3.cdn.digitaloceanspaces.com
  • Generated origin Server cert for domain.com on Cloudflare
  • Adding new CNAME record on Cloudflare with name: static and content: https://<bucket>.ams3.cdn.digitaloceanspaces.com
  • I set up my own subdomain in the DigitalOcean space and specified the following: the name of the certificate is static, uploaded the certificate and private key from the certificate of the original Cloudflare server, specified the link static.domain.com.
  • After that, when I try to open static.domain.com in browser, I am getting the following error: Invalid SSL certificate Error code 526

Who had a similar problem?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.