certbot-he-hook icon indicating copy to clipboard operation
certbot-he-hook copied to clipboard

HE.net authentication & domain not found error message

Open danielmotaleite opened this issue 5 years ago • 3 comments

Script is failing with No zone for domain "" found.

Checking the script we get that the cookie format changes, we do not have anymore the CGISESSID cookie, but instead a random id:

 curl -L --silent --show-error -I https://dns.he.net/ |  grep '^Set-Cookie:' 
Set-Cookie: 2915s1a0a47538f8ae75fdef12aca44c56e2b307832d37d25210ba8ed950c3e4=15425ee4e6df96e0c0d23acc4213eb37; path=/; expires=Tue, 09-Jun-2020 10:32:26 GMT

danielmotaleite avatar Jun 08 '20 22:06 danielmotaleite

This PR seems to fix this: https://github.com/angel333/certbot-he-hook/pull/6

danielmotaleite avatar Jun 08 '20 22:06 danielmotaleite

Can confirm, that without that PR modification the script was failing, using its corrections is working.

Also on line 99 the return should be changed to exit, as that is an exit code and return can be used only from a function. I was also getting this error: /root/certbot-he-hook.sh: line 99: return: can only `return' from a function or sourced script

BR!

zaszlo avatar Jul 07 '20 16:07 zaszlo

I can also confirm that I was able to get wildcard certs with this patch.

NetForces avatar Mar 10 '21 02:03 NetForces