I tried to enable the CDN for a new spaces bucket, but with a custom domain and custom certficate. Enabling generally worked. I was also able to configure the custom (wildcard) certificate and provide the appropriate subdomain to be used. What caught my attention though was, that while entering the certificate details, the button didn’t change to “Save” but still read as “Generate Certificate and Use Subdomain”. I assumed this was just a visualization error and continued. It seemed to be working and the certificate can be found under Settings > Security. But the custom subdomain configuration for the CDN is nowhere to be found.
Anyone else stumlbed accross this problem? Or am I doing something wrong?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Heya,
After you click the Bring your own certificate tab, the window displays several fields for you to upload your certificate.
Enter the name, certificate, private key, and certificate chain in the respective fields, then click Add Certificate and Use Subdomain.
As for the custom subdomain configuration for the CDN you can check this link:
https://docs.digitalocean.com/products/spaces/how-to/customize-cdn-endpoint/#add-a-custom-subdomain
Hope that this helps!