How do I set up a commercial SSL/TLS certificate for my Rancher 2.0 page?

Linode Staff

What's the fastest way to get a commercial SSL/TLS certificate working for Rancher 2.0?

1 Reply

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct