Files
freeipa/ipatests
Rob Crittenden 3a4238ba96 ipatests: Give the subCA more time to be loaded by the CA
The subCA keys are loaded out-of-band after creation into the
CA so they may have been replicated but not loaded. Give more
time for them to appear in the remote CA.

Use a loop for the checking instead of a raw sleep because most
of the time this is very fast (< 15 seconds) but sometimes it
requires just a bit more. Allow up to 60 seconds.

To avoid output difference, strip the token name out of certutil
output. We don't care about the token a certificate is stored
in, the internal or the FIPS token. We just care that they exist
on both servers and that the keys match.

Apparently in some cases the token name is displayed and not in
others so lets normalize the output to make comparisons more
consistent.

Fixes: https://pagure.io/freeipa/issue/9096

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Mohammad Rizwan Yusuf <myusuf@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Stanislav Levin <slev@altlinux.org>
2022-03-16 11:07:24 +02:00
..
2022-03-14 10:44:55 -04:00
2019-07-16 13:23:21 +03:00
2020-10-26 17:11:19 +11:00
2021-02-09 09:48:23 -05:00
2022-03-14 10:44:55 -04:00
2013-06-17 19:22:50 +02:00
2022-03-14 10:44:55 -04:00
2015-10-22 18:34:46 +02:00
2022-03-14 10:44:55 -04:00
2016-10-20 18:43:37 +02:00
2021-06-17 09:51:45 +02:00
2022-03-14 10:44:55 -04:00