]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acme: check if the account exist
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 9 Apr 2025 18:31:52 +0000 (20:31 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 11 Apr 2025 23:29:27 +0000 (01:29 +0200)
commit7f9bf4d5f73f6d28fe2c2bb27410ae38fe0f08e3
tree9f86cf55aaa54b520fcc35871a6bc661c96bb26c
parent0aa6dedf7253b3153e290088779e7244b7433a14
MINOR: acme: check if the account exist

This patch implements the retrival of the KID (account identifier) using
the pkey.

A request is sent to the newAccount URL using the onlyReturnExisting
option, which allow to get the kid of an existing account.

acme_jws_payload() implement a way to generate a JWS payload using the
nonce, pkey and provided URI.
include/haproxy/acme-t.h
src/acme.c