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-" rpm -qa | grep "git-"
if test $? -eq 1 if test $? -eq 1
then then
...@@ -10,7 +10,7 @@ if [ ! -d "/root/letsencrypt/" ]; then ...@@ -10,7 +10,7 @@ if [ ! -d "/root/letsencrypt/" ]; then
fi fi
service iptables stop 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 service iptables start
cd /etc/letsencrypt/live/$(hostname)/ 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