Synology: How to Run Docker Containers Over HTTPS

Synology How to Run Docker Containers Over HTTPS

Did you know there is more than one way to add an SSL certificate to your Docker containers and run them over an HTTPS connection? The first method is the Wildcard Certificate and the second is the Individual subdomain DDNS certificate. What do these certificates have in common? The option to add and use subdomains.

Let's Encrypt Wildcard Certificate

Let's Encrypt Individual Subdomain Certificate

With a Wildcard Certificate you use one certificate instead of dozens or hundreds. With Individual Subdomain Certificates you use multiple certificates to reach the same identical result as with a Wildcard certificate. I recommend you use the first option, the Wildcard Certificate, but at the end of the day the choice for one or the other will depend on your individual needs.

Note: Instead of the free Synology DDNS certificate you can use different Hostname Providers or your own Domain name.

This post was updated on Tuesday / July 13th, 2021 at 5:53 PM