Added scripts for the Server.
This commit is contained in:
11
scripts/create_new_cert.sh
Executable file
11
scripts/create_new_cert.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials /root/.secrets/certbot/cloudflare.ini -d $1,*.$1 --preferred-challenges dns-01
|
||||
|
||||
read -p "CONTINUARE ? (Y/N) ? " risposta
|
||||
|
||||
if [[ $risposta == "Y" || $risposta == "y" ]]; then
|
||||
|
||||
sudo certbot certonly --dns-cloudflare --dns-cloudflare-credentials /root/.secrets/certbot/cloudflare.ini -d $1,*.$1 --preferred-challenges dns-01
|
||||
|
||||
fi
|
||||
Reference in New Issue
Block a user