Scripts to manage letsencrypt installations

Lists the domains of all expiring certificates


$ sh
-d -d

The expiry threshold, in days defaults to 10, but can be specified:

$ sh 3

Renews all expiring domains, assuming use of the webroot authenticator.

To successfully authenticate you must place the following stanza in your nginx server block:

location /.well-known/acme-challenge {
    alias /usr/local/www/letsencrypt/.well-known/acme-challenge;
    default_type text/plain;

The default webroot is assumed to be "/usr/local/www/letsencrypt". Change this location setting the WEBROOT environment variable