From 6eba3b24a817b33337798402409be9d523039512 Mon Sep 17 00:00:00 2001 From: Brielle Date: Mon, 4 Apr 2016 20:57:31 -0600 Subject: [PATCH] Update readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 3499604..ff5c579 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,20 @@ apache-le-proxy.conf - Use with apache for LE well-known proxy config # How To Use +## gen-cert.sh + +1. Do initial cert generation (if using webroot, see script contents for more methods of authentication): + + gen-cert.sh -e email@address.com -d somedomain.com -d otherdomain.com -r /var/www/letsencrypt-root/ + +2. Copy cron/renew-ssl-weekly.sh to /etc/cron.weekly, edit as appropriate + +3. Run: + + chmod 750 /etc/cron.weekly/renew-ssl-weekly.sh + +3. Script will now run weekly and renew the certificate if necessary ( < 30 days remain). Don't forget to add any necessary file copies/symlinks/service restarts as needed once the scripts are updated. + ## gen-unifi-cert.sh 1. Do initial cert generation: