mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
403 Error on letsencrypt tls-alpn-01 #537
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sephamorr on GitHub (May 10, 2021).
I'm sorry for making an issue for something that's probably a configuration issue on my end, but here goes:
For a server which only has port 443 access to the internet (no port 80), I started using dehydrated last year as a tls-alpn-01 responder, with a Lighttpd web server. Everything worked great for ~6 months, including the recurring cron job to renew the cert. Based on logging, the last successful renew was December 30, 2020.
Now, however, given a renew command of (note redacted domain/ips):
./dehydrated -d my.domain.com -t tls-alpn-01 --out /etc/lighttpd/certs --alpn /etc/lighttpd/dehydrated/tls-alpn-01 -cI now receive this output and error:
Based on a suggestion here, I disabled TLSv1.3 and also tried forcing a 2048 bit key per this other bug, to no avail.
I'm not sure which version of Lighttpd was in use back when this worked, but I've tested that this issue occurs on 1.4.55 and 1.4.59
Any ideas about what is going on here?
@sephamorr commented on GitHub (May 16, 2021):
I solved my issue, honestly not entirely sure how. I made some changes to my lighttpd.conf file, and when I ultimately tried it again, it worked. I tried to revert the changes I remembered, but it still worked (and I hadn't kept a backup of the bad config, oops). The changes I made were part of sanitizing it, to make
lighttpd -ttpass without errors, in case anyone comes by this thread with the same problem.