Add a script to certify a domain

This commit is contained in:
Romain de Laage 2020-07-27 18:48:29 +02:00
parent 1dbf94260e
commit 15c730a1e2
Signed by: rdelaage
GPG Key ID: 534845FADDF0C329
1 changed files with 7 additions and 0 deletions

7
certify.sh Executable file
View File

@ -0,0 +1,7 @@
DOMAIN=$1
systemctl stop nginx
certbot certonly --standalone -d $DOMAIN
systemctl start nginx