Unverified Commit 541773ed authored by MegaS0ra's avatar MegaS0ra Committed by GitHub
Browse files

Added "--agree-tos" to Let's Encrypt command to accept conditions

parent fbd5a8b5
#!/bin/bash
--agree-tos#!/bin/bash
rpm -qa | grep "git-"
if test $? -eq 1
then
......@@ -10,7 +10,7 @@ if [ ! -d "/root/letsencrypt/" ]; then
fi
service iptables stop
./letsencrypt/letsencrypt-auto certonly --standalone -d $(hostname) --rsa-key-size 4096
./letsencrypt/letsencrypt-auto certonly --standalone --agree-tos -d $(hostname) --rsa-key-size 4096
service iptables start
cd /etc/letsencrypt/live/$(hostname)/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment