How to Run Docker Containers Over HTTPS

docker https
Advertisements by Google

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.

 Wildcard Certificate

 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.

Advertisements by Google

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

Advertisements by Google

Related Posts

Leave a comment

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.
%d bloggers like this: