Add a script to renew all certificates automatically
This commit is contained in:
parent
88ba4ca6ec
commit
2c45625659
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# The aim of this script is to automatically renew the certificates installed on this machine.
|
||||||
|
# You should add a cron job to run this script and make it be executed each night.
|
||||||
|
|
||||||
|
service nginx stop
|
||||||
|
certbot renew --quiet
|
||||||
|
service nginx start
|
Loading…
Reference in New Issue