When installed in automatic mode in the function check_srv(), the IPNOW constant gets the IP private, but for successful verification letsencrypt needs a public IP. It might be reasonable to change the value from IPNOW =; $ (hostname -I) to IPNOW = $ (./dig + short myip.opendns.com @ resolver1.opendns.com)
When installed in automatic mode in the
function check_srv(), the IPNOWconstant gets the IP private, but for successful verification letsencrypt needs a public IP. It might be reasonable to change the value fromIPNOW =; $ (hostname -I)toIPNOW = $ (./dig + short myip.opendns.com @ resolver1.opendns.com)