Setup SSL Cert for Subdomain for DigitalOcean Spaces WITHOUT a Server

I have the domain “” managed by an external DNS service.

I’d like to point to Digital Ocean Spaces.

I can’t switch to Digital Ocean DNS because Digital Ocean doesn’t support all the record types I want.

So my remaining option is to install a custom SSL certificate per this guide: and follow the “Bring Your Own Certificate” option.

The instructions for the “Bring Your Own Certificate” option are to install Certbot on a server - however, “” is currently pointing to a server that is managed by Digital Ocean Apps, and I don’t have permissions on those managed Apps to run Certbot.

Also - LetsEncrypt certificates require renewal every 90 days. How would I do that with Digital Ocean spaces?


Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
March 12, 2022


Edit: In order for the bellow to work, you would need to use the ‘Bring your own certificate’ option.

Yes, this should be doable. You could add your subdomain name as a separate domain to your DigitalOcean account directly.

Then that way it will show up in your domains list when you try to specify it as a custom domain for your Space.

Then in your main domain’s DNS zone, you will have to add the DigitalOcean nameservers as NS records for your cdn. subdomain in the DNS Manager for your main domain.

For Example: In DNS Manager for main add NS records Like. 1799 IN    NS 1799 IN    NS 1799 IN    NS

That way you will be able to manage the DNS for the subdomain in a separate DNS zone than your main domain name and it would be independent.

Hope that this helps.