change account email to use fqdn, with note about how to change
This commit is contained in:
parent
6cde966f6e
commit
399709f2b3
|
@ -57,10 +57,11 @@ systemctl daemon-reload
|
|||
systemctl enable --now letsencrypt-deploy.path
|
||||
|
||||
echo
|
||||
domain=`hostname -d`
|
||||
if [ -n "$domain" ]; then
|
||||
echo "email = webmaster@$domain" >> /etc/letsencrypt/cli.ini
|
||||
echo "Let's Encrypt email set to webmaster@$domain"
|
||||
fqdn=`hostname -f`
|
||||
if [ -n "$fqdn" ]; then
|
||||
echo "email = webmaster@$fqdn" >> /etc/letsencrypt/cli.ini
|
||||
echo "Let's Encrypt email set to webmaster@$fqdn"
|
||||
echo "This can be changed by editing /etc/letsencrypt/cli.ini."
|
||||
else
|
||||
echo "Server DNS domain name not set, Let's Encrypt email setting left unconfigured."
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user