From d2d487bcccf6365ad4302106e13d9588722f7b33 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 28 Jan 2021 14:06:52 -0500 Subject: [PATCH] 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 https://pagure.io/freeipa/issue/8712 Reviewed-By: Florence Blanc-Renaud --- install/share/pki-acme-engine.conf.template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/share/pki-acme-engine.conf.template b/install/share/pki-acme-engine.conf.template index e6a56593f..7085cd71b 100644 --- a/install/share/pki-acme-engine.conf.template +++ b/install/share/pki-acme-engine.conf.template @@ -9,3 +9,5 @@ enabled=false # Whether to accept wildcard DNS identifiers: policy.wildcard=false + +baseURL=https://$FQDN/acme