schubergphilis / chef-acme

Chef cookbook to request SSL certificates at Let's Encrypt
Apache License 2.0
112 stars 74 forks source link

Adds a bit more information to authz failure #124

Closed essjayhch closed 4 years ago

essjayhch commented 4 years ago

Problem

Currently, if a certificate request fails one of its authz, there is very little logging as to what caused it. In certificates with large numbers of alt_names, it is very difficult to diagnose which domain failed its http auth or figure out the specific reason as to why it failed, leading to a headache for dns admins using this on anything other than trivial instances.

Fix

Adjust the block that triggers the fail so that it includes some additional information about what the failure is, and include it in the output of the chef run.

thoutenbos commented 4 years ago

Thanks!