Update letsencrypt-microtik.sh

Support for Wildcard Let's Encrypt Certificates
This commit is contained in:
Konstantin Gimpel 2018-05-27 12:39:12 +03:00 committed by GitHub
parent e438c2ae32
commit 13fb44f599
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,8 @@ if [ ! -f $CERTIFICATE ] && [ ! -f $KEY ]; then
echo -e "Please use CertBot Let'sEncrypt:" echo -e "Please use CertBot Let'sEncrypt:"
echo "============================" echo "============================"
echo "certbot certonly --preferred-challenges=dns --manual -d $DOMAIN --manual-public-ip-logging-ok" echo "certbot certonly --preferred-challenges=dns --manual -d $DOMAIN --manual-public-ip-logging-ok"
echo "or (for wildcard certificate):"
echo "certbot certonly --preferred-challenges=dns --manual -d *.$DOMAIN --manual-public-ip-logging-ok --server https://acme-v02.api.letsencrypt.org/directory"
echo "===========================" echo "==========================="
echo -e "and follow instructions from CertBot\n" echo -e "and follow instructions from CertBot\n"
exit 1 exit 1