Sign inSign up

vostro/rancher-letsencrypt

By vostro

Updated almost 7 years ago

Image
0

1.5K

vostro/rancher-letsencrypt repository overview

Rancher 1.6 + Let's Encrypt = Awesome Sauce

Let's Encrypt Certificate Manager for Rancher 1.6

Docker Pulls License

A Rancher service that obtains free SSL/TLS certificates from the Let's Encrypt CA, adds them to Rancher's certificate store and manages renewal and propagation of updated certificates to load balancers.

Requirements
  • Rancher Server >= v1.6.0 < 2.x
How to use

Docker Image: vostro/rancher-letsencrypt

Configure via Enviroment Variables

  • API_VERSION = (Production,Sandbox)
  • CERT_NAME = nameofcertgenerated
  • DNS_RESOLVERS = 8.8.8.8:53,8.8.4.4:53
  • DOMAINS = www.google.com,www.cloudflare.com
  • EMAIL = [email protected]
  • EULA = Yes
  • PROVIDER = Aurora Azure CloudFlare DigitalOcean DNSimple Dyn Gandi NS1 Ovh Route53 Vultr StackPath
  • PUBLIC_KEY_TYPE: RSA-2048
  • RENEWAL_PERIOD_DAYS: '20'
  • RENEWAL_TIME: '12'
  • RUN_ONCE: 'false'

refer to https://go-acme.github.io/lego/dns/ for the appropriate env variables for your selected provider

Storing certificate in shared storage volume

By default the created SSL certificate is stored in Rancher's certificate store for usage in Rancher load balancers.

You can specify a volume name to store account data, certificate and private key in a (host scoped) named Docker volume. To share the certificates with other services you may specify a persistent storage driver (e.g. rancher-nfs).

See the README in the Rancher catalog for more information.

Configuration reference

You can either set environment variables or use Rancher Secrets for provider configuration.

https://go-acme.github.io/lego/dns/

Tag summary

Content type

Image

Digest

Size

27.4 MB

Last updated

almost 7 years ago

docker pull vostro/rancher-letsencrypt