Include key
This commit is contained in:
parent
e4d9094169
commit
a9736a6fe1
|
@ -46,7 +46,9 @@ function show_help {
|
||||||
|
|
||||||
function renew_startssl {
|
function renew_startssl {
|
||||||
echo "Renewing Let's Encrypt certificate"
|
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
|
if [ ! "$?" = "0" ]; then
|
||||||
echo "Unable to renew Let's encrypt certificate"
|
echo "Unable to renew Let's encrypt certificate"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue