1. ollyc
  2. letsencrypt-scripts

Overview

HTTPS SSH

Scripts to manage letsencrypt installations

letsencrypt-list-expiring.sh

Lists the domains of all expiring certificates

Example:

$ sh letsencrypt-list-expiring.sh
-d example.org -d www.example.org

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

$ sh letsencrypt-list-expiring.sh 3

letsencrypt-renew.sh

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