I am baffled about how to create an ssl cert on one of my servers but use it on the subdomain for spaces. If I create a DNS entry for images.mydomain.com so Certbot can find it and issue an SSL cert. By definition, I am defining that my server’s IP is responsible to respond for that URL. How can I then copy that cert to the Spaces API and expect that it will now be responding for that subdomain? Would I not need to change my DNS to have a CNAME for the subdomain to point to CDN URL? If I do that how will I be able to then have Certbot find the original server to update my ssl cert after 90 days. I am befuddled. I anyone can explain this to me I would greatly appreciate it.
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!
Accepted Answer
Hi there,
It would indeed work as you described it, but if you do it that way, you would need to manually reissue the certificate every 90 days and again manually add the updated certificate to your account.
What you could do instead is to use the SSL automation provided by DigitalOcean. For that you would need the following:
Settings
-> Security
-> Click on Add Certificate
and choose your domain name followed by the subdomain that you will use for your space and click on generate.That way you will not have to worry about manually issuing and updating your SSL certificate every 90 days.
In case that you need it, you can find the documentation here.
Let me know if you have any questions. Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.