- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with letsencrypt_client
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module is for managing letsencrypt certificates with puppet. It does not automatically install the certificates to the web server as that is out of scope for this project.
Currently the module handles installing the letsencrypt cli tool for the module to then use to request certificates using the defined resource type. Certificates will automatically be renewed when the cert has less than 30 days left until it expires.
- Installs python, virtualenv, pip, and letsencrypt
- Requires openssl to be installed and in /usr/bin
Simply use the letsencrypt_client::cert defined resource type to request a certificate from letsencrypt's CA.
letsencrypt_client::cert { "www.example.com",
webroot => "/var/www",
domain_name => "$title",
}
letsencrypt_client::cert { "www.example.com",
domains => [
{
webroot => '/path/to/webroot',
domain_name => 'example.com',
},
{
webroot => '/path/to/webroot',
domain_name => 'www.example.com',
},
],
}
This has been tested on Ubuntu 14.04.3 LTS
The source is at https://github.com/demophoon/letsencrypt-client. Feel free to submit issues and or enhancement requests there.
Britt Gresham britt@brittg.com