How do I set up a commercial SSL/TLS certificate for my Rancher 2.0 page?
Linode
Linode Staff
What's the fastest way to get a commercial SSL/TLS certificate working for Rancher 2.0?
1 Reply
bbigger
Linode Staff
While there are several options for getting a commercial SSL/TLS certificate configured for your Rancher 2.0+ app (as described in this guide on SSL/TLS options for Rancher 2.0), the quickest and simplest would be to use Rancher 2.0's built-in support for Let's Encrypt certificates when you start your Rancher container.
For example, if you're following the recommendations in our guide on How to Deploy Kubernetes on Linode with Rancher 2.2, you'd simply run this command to start Rancher on your Linode:
docker run -d -p 80:80 -p 443:443 \
--restart=unless-stopped \
-v /opt/rancher:/var/lib/rancher \
rancher/rancher:latest \
--acme-domain your.domain.com