Configure the letsencrypt cli tool and generate certificates using defined types

Britt Gresham



6,217 latest version

3.7 quality score

Version information

  • 0.1.5 (latest)
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Mar 3rd 2016

Start using this module


demophoon/letsencrypt_client — version 0.1.5 Mar 3rd 2016


Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with letsencrypt_client
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. 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.

Module Description

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.


What letsencrypt_client affects

  • Installs python, virtualenv, pip, and letsencrypt

Setup Requirements

  • 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.

Release Notes/Contributors/Etc

Britt Gresham britt@brittg.com