Blob Blame History Raw
From 50c77ddd79c1f469d40ebba3d337e4f88bdabb2f Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <flo@redhat.com>
Date: Wed, 9 Jun 2021 17:51:15 +0200
Subject: [PATCH] ipatests: use non-ascii chars in CA-less install
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The CA-less installation creates an external CA with the
subject CN=CA,O=Example Organization.
In order to test non-ascii subjects, use
CN=CA,O=Example Organization EspaƱa
instead.

Related: https://pagure.io/freeipa/issue/8879
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
---
 ipatests/pytest_ipa/integration/create_caless_pki.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipatests/pytest_ipa/integration/create_caless_pki.py b/ipatests/pytest_ipa/integration/create_caless_pki.py
index 9a2e8e26b63729517f329bee736a315f9e8f0744..9279fdee9139e6a6050efa07cfa4fe1747afe4db 100644
--- a/ipatests/pytest_ipa/integration/create_caless_pki.py
+++ b/ipatests/pytest_ipa/integration/create_caless_pki.py
@@ -550,7 +550,7 @@ def create_pki():
                 x509.NameAttribute(NameOID.COMMON_NAME, server2)
              ])
              )
-    ca1 = gen_subtree(u'ca1', u'Example Organization')
+    ca1 = gen_subtree(u'ca1', u'Example Organization Espa\xf1a')
     gen_subtree(u'subca', u'Subsidiary Example Organization', ca1)
     gen_subtree(u'ca2', u'Other Example Organization')
     ca3 = gen_subtree(u'ca3', u'Unknown Organization')
-- 
2.26.3