janeczku / haproxy-acme-validation-plugin

:four_leaf_clover: Zero-downtime ACME / Let's Encrypt certificate issuing for HAProxy
MIT License
291 stars 50 forks source link

lua doesn't capture authorization requests #13

Closed itcrowdsource closed 7 years ago

itcrowdsource commented 7 years ago

I've installed the validation plugin by following the procedure. Initially the script worked but after a while it didn't.

Environment:

Steps to reproduce:

Start log<< Saving debug log to /var/log/letsencrypt/letsencrypt.log Renewing an existing certificate Performing the following challenges: http-01 challenge for domainx.net http-01 challenge for www.domainx.net http-01 challenge for ads.domainx.net http-01 challenge for domainx.com Using the webroot path /var/lib/haproxy for all unmatched domains. Waiting for verification... Cleaning up challenges Failed authorization procedure. domainx.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domainx.com/.well-known/acme-challenge/nYD1_fbMcn5Op0XoWI5XJsIQsSgAJ-SfieuLW5hNf3U: "

404 Not Found

404 Not Found


", www.domainx.net (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.domainx.net/.well-known/acme-challenge/AN9zePHcugsfYs6hAbia2jnDkZYqLnyUvWxkLHhXH0g: " 404 Page Not Found