Skip to content

API: Get Payload for revocation as byte[] #2226

Closed Answered by ldez
FalkoFlessner asked this question in Ideas
Discussion options

You must be logged in to vote

I understand but lego is not a raw HTTP request recorder/player: lego is not made to do that (the key is on the API client, not a method parameter, and the internal client cannot be exposed due to requirements to other elements).

But technically you can do it with lego by using a custom HTTP client or the fake ACME server to record the request body and replay it by using a simple HTTP client.

Also, I have some doubts about the reality of dumping a request and replaying it, because the signature system uses a "fresh anti-replay nonce" shared with the server https://www.rfc-editor.org/rfc/rfc8555.html#section-7.2

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by FalkoFlessner
@FalkoFlessner
Comment options

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