Skip to content

lego in combination with pebble fails to obtain certificate #2425

Answered by svennis94
svennis94 asked this question in Q&A
Discussion options

You must be logged in to vote

@ldez I did some further testing, with the default http.Client from lego it works without any issues. There were issues when I re-introduced our own http.Client implementation. There was a transformation happening on the http.Response.Header from a type http.Header to a type map[string]string, this was then transformed back. Removing this transformation resolved all issues with lego.

Thanks for the help! The e2e dir is very useful.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ldez
Comment options

ldez Feb 6, 2025
Maintainer

@svennis94
Comment options

@svennis94
Comment options

Answer selected by svennis94
@ldez
Comment options

ldez Feb 7, 2025
Maintainer

# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants