Saltstack formula for Let's Encrypt service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Sean Johnson ae4ebd3fb3 fix requires 5 months ago
ci Fix letsencrypt-client state 1 year ago
letsencrypt fix requires 5 months ago
test Fix letsencrypt-client state 1 year ago
.gitignore Merge branch 'master' into master 2 years ago
.kitchen.yml This changes literally everything 1 year ago
Gemfile remove recursive require 1 year ago
LICENSE Initial commit 5 years ago
README.md This changes literally everything 1 year ago
pillar.example This changes literally everything 1 year ago

README.md

letsencrypt-formula

Creates certificates and manages renewal using the letsencrypt service.

Pipeline Status: Debian Pipeline Status: RHEL/CentOS

See the full Salt Formulas installation and usage instructions.

Available states

  • letsencrypt
  • letsencrypt.config
  • letsencrypt.domains
  • letsencrypt.install

letsencrypt

This is a shortcut for letsencrypt.install letsencrypt.config and letsencrypt.domains.

The formula will try to install the certbot package from your Distro's repo. Keep in mind that most distros don't have a package available by default: Ie, current Debian (Stretch) requires a backports repo installed. Centos 7 requires EPEL, etc. This formula DOES NOT manage these repositories. Use the apt-formula <https://github.com/saltstack-formulas/apt-formula>_ or the epel-formula <https://github.com/saltstack-formulas/epel-formula_ to manage them.

letsencrypt.install

Only installs the letsencrypt client (see above).

letsencrypt.config

Manages /etc/letsencrypt/cli.ini config file.

letsencrypt.domains

Creates a certificate with the domains in each domain set (letsencrypt:domainsets in pillar). Letsencrypt uses a relatively short validity of 90 days. Therefore, a cron job for automatic renewal every 60 days is installed for each domain set as well.