Set the ACME baseURL in order to pin a client to a single IPA server

ACME uses nonce values to prevent replay attacks. Since the
ipa-ca name can go to any of the IPA servers in order to verify the
nonce the servers need to know the value that was set which
relies on replication. Sometimes the client is faster than
replication so a request can fail.

This change returns the baseURL to the client as the name of the
ACME server during discovery which should pin all requests to this
one IPA server and alleviate the replication issue.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>

https://pagure.io/freeipa/issue/8712

Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
Rob Crittenden authored and Alexander Bokovoy committed 2021-02-15 13:11:56 +02:00
1 parent 4f63dc9945
commit a16dc59447
1 file changed
+2
@@ -9,3 +9,5 @@ enabled=false
# Whether to accept wildcard DNS identifiers:
policy.wildcard=false
baseURL=https://$FQDN/acme