Include key

This commit is contained in:
Bob Mottram 2015-11-04 10:29:22 +00:00
parent e4d9094169
commit a9736a6fe1
1 changed files with 11 additions and 9 deletions

View File

@ -46,7 +46,9 @@ function show_help {
function renew_startssl {
echo "Renewing Let's Encrypt certificate"
letsencrypt renew --cert-path /etc/ssl/certs/$HOSTNAME.pem
letsencrypt renew \
--cert-path /etc/ssl/certs/$HOSTNAME.crt \
--key-path /etc/ssl/private/$HOSTNAME.key
if [ ! "$?" = "0" ]; then
echo "Unable to renew Let's encrypt certificate"
fi