diff --git a/ipatests/test_integration/test_replica_promotion.py b/ipatests/test_integration/test_replica_promotion.py index 16b2cb34b..c06e06177 100644 --- a/ipatests/test_integration/test_replica_promotion.py +++ b/ipatests/test_integration/test_replica_promotion.py @@ -601,7 +601,8 @@ class TestSubCAkeyReplication(IntegrationTest): status = replica.run_command(status_cmd) assert 'State MONITORING, stuck: no' in status.stdout_text - ssl_cmd = ['openssl', 'x509', '-text', '-in', TEST_CRT_FILE] + ssl_cmd = ['openssl', 'x509', '-text', '-in', TEST_CRT_FILE, + '-nameopt', 'space_eq'] ssl = replica.run_command(ssl_cmd) assert 'Issuer: CN = {}'.format(self.SUBCA_MASTER) in ssl.stdout_text