Skip to content

JSON responses for challenges #2382

Closed Answered by ldez
disbeliefff asked this question in Q&A
Dec 17, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

You are mixing things that a completely different: each challenge has its constraints.

For the DNS challenge, you don't need to store anything because it only relies on DNS.
For the HTTP challenge, you can do the same thing as the HTTPProvider implementation https://github.com/go-acme/lego/blob/master/providers/http/webroot/webroot.go

lego is integrated into several software like Traefik, 1Panel, etc. that are already doing what you are trying to do and they don't need to store anything else than the account information, private key, and certificates.

Is it possible to return these generated values in JSON format using the lego library?

This question doesn't make any sense to me as it d…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@disbeliefff
Comment options

@ldez
Comment options

ldez Dec 18, 2024
Maintainer

@disbeliefff
Comment options

@ldez
Comment options

ldez Dec 18, 2024
Maintainer

Answer selected by disbeliefff
@disbeliefff
Comment options

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