Update readme

master
Brie Bruns 2016-03-08 12:34:44 -07:00
parent d505039a09
commit e5b4cf6a59
1 changed files with 7 additions and 6 deletions

View File

@ -23,14 +23,15 @@ apache-le-proxy.conf - Use with apache for LE well-known proxy config
How To Use
=============================================================
gen-unifi-cert.sh
1) Do initial cert generation:
##gen-unifi-cert.sh
gen-unifi-cert.sh -e email@address.com -d unifi.somedomain.com -d unifi.someotherdomain.com
1. Do initial cert generation:
2) Put in /etc/cron.weekly/renew-unifi-ssl if everything works okay:
`gen-unifi-cert.sh -e email@address.com -d unifi.somedomain.com -d unifi.someotherdomain.com`
/path/to/script/gen-unifi-cert.sh -r -d unifi.somedomain.com -d unifi.someotherdomain.com
2. Put in /etc/cron.weekly/renew-unifi-ssl if everything works okay:
3) Script will now run weekly and renew the certificate if necessary ( <30 days remain)
`/path/to/script/gen-unifi-cert.sh -r -d unifi.somedomain.com -d unifi.someotherdomain.com`
3. Script will now run weekly and renew the certificate if necessary ( <30 days remain)
and restart unifi only if cert has been renewed.