Export CA Certificate for subdomains


I’ve got a trellis setup with let’s encrypt ssl certificate and now I started to use Spaces on Digitalocean for CDN.

Digital Ocean wants a SSL certificate to use subdomain as url for the CDN assets.

Is it possible to create subdomains and export certificate created with letsencrypt and use for this only?


You can add extra domains to the SSL certificate generated via redirects as seen here: https://roots.io/docs/trellis/master/ssl/#dns-records

However I’m not exactly sure what you mean by exporting the certificate for Spaces. You could copy the generated certificate elsewhere… but the cert generated by Trellis is tied in to the webserver so it’s not really standalone.

This topic was automatically closed after 42 days. New replies are no longer allowed.