fix letsencrypt validation bug
This commit is contained in:
parent
4b637ea20b
commit
c7a6a69b5b
@ -116,7 +116,7 @@ if [ "$proxychains" = true ] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# register zerossl account ## we're using letsencrypt by the moment
|
# register zerossl account ## disabled, using letsencrypt at the moment
|
||||||
#$acme_cmd \
|
#$acme_cmd \
|
||||||
# --register-account \
|
# --register-account \
|
||||||
# -m admin@$domain \
|
# -m admin@$domain \
|
||||||
@ -165,6 +165,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# launch main dnsmasq process
|
# launch main dnsmasq process
|
||||||
|
letsencrypt_CAA="000569737375656c657473656e63727970742e6f7267"
|
||||||
touch $tmp_conf_file \
|
touch $tmp_conf_file \
|
||||||
&& dnsmasq \
|
&& dnsmasq \
|
||||||
--conf-file=$tmp_conf_file \
|
--conf-file=$tmp_conf_file \
|
||||||
@ -172,6 +173,7 @@ touch $tmp_conf_file \
|
|||||||
-p $alternative_dns_port \
|
-p $alternative_dns_port \
|
||||||
--address="/$domain/$my_ygg_ip" \
|
--address="/$domain/$my_ygg_ip" \
|
||||||
--address="/$domain/$bridge46_ipv4" \
|
--address="/$domain/$bridge46_ipv4" \
|
||||||
|
--dns-rr=$domain,257,$letsencrypt_CAA \
|
||||||
--server="/_acme-challenge.$domain/127.0.0.1#$acme_challenge_port" \
|
--server="/_acme-challenge.$domain/127.0.0.1#$acme_challenge_port" \
|
||||||
1>&- 2>&- &
|
1>&- 2>&- &
|
||||||
main_dnsmasq_pid=$!
|
main_dnsmasq_pid=$!
|
||||||
|
Loading…
Reference in New Issue
Block a user