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

Added info about email address

parent 153d12f2
--agree-tos#!/bin/bash
#!/bin/bash
# Execute this script followed by the email address to which the Let's Encrypt certificate's notifications will be sent
rpm -qa | grep "git-"
if test $? -eq 1
then
......@@ -10,7 +11,7 @@ if [ ! -d "/root/letsencrypt/" ]; then
fi
service iptables stop
./letsencrypt/letsencrypt-auto certonly --standalone --agree-tos -d $(hostname) --rsa-key-size 4096
./letsencrypt/letsencrypt-auto certonly --standalone --agree-tos -d $(hostname) --rsa-key-size 4096 --email $1
service iptables start
cd /etc/letsencrypt/live/$(hostname)/
......
Markdown is supported
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