|
|
eb7a78 |
From 50c77ddd79c1f469d40ebba3d337e4f88bdabb2f Mon Sep 17 00:00:00 2001
|
|
|
eb7a78 |
From: Florence Blanc-Renaud <flo@redhat.com>
|
|
|
eb7a78 |
Date: Wed, 9 Jun 2021 17:51:15 +0200
|
|
|
eb7a78 |
Subject: [PATCH] ipatests: use non-ascii chars in CA-less install
|
|
|
eb7a78 |
MIME-Version: 1.0
|
|
|
eb7a78 |
Content-Type: text/plain; charset=UTF-8
|
|
|
eb7a78 |
Content-Transfer-Encoding: 8bit
|
|
|
eb7a78 |
|
|
|
eb7a78 |
The CA-less installation creates an external CA with the
|
|
|
eb7a78 |
subject CN=CA,O=Example Organization.
|
|
|
eb7a78 |
In order to test non-ascii subjects, use
|
|
|
eb7a78 |
CN=CA,O=Example Organization EspaƱa
|
|
|
eb7a78 |
instead.
|
|
|
eb7a78 |
|
|
|
eb7a78 |
Related: https://pagure.io/freeipa/issue/8879
|
|
|
eb7a78 |
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
|
|
|
eb7a78 |
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
|
|
|
eb7a78 |
---
|
|
|
eb7a78 |
ipatests/pytest_ipa/integration/create_caless_pki.py | 2 +-
|
|
|
eb7a78 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
eb7a78 |
|
|
|
eb7a78 |
diff --git a/ipatests/pytest_ipa/integration/create_caless_pki.py b/ipatests/pytest_ipa/integration/create_caless_pki.py
|
|
|
eb7a78 |
index 9a2e8e26b63729517f329bee736a315f9e8f0744..9279fdee9139e6a6050efa07cfa4fe1747afe4db 100644
|
|
|
eb7a78 |
--- a/ipatests/pytest_ipa/integration/create_caless_pki.py
|
|
|
eb7a78 |
+++ b/ipatests/pytest_ipa/integration/create_caless_pki.py
|
|
|
eb7a78 |
@@ -550,7 +550,7 @@ def create_pki():
|
|
|
eb7a78 |
x509.NameAttribute(NameOID.COMMON_NAME, server2)
|
|
|
eb7a78 |
])
|
|
|
eb7a78 |
)
|
|
|
eb7a78 |
- ca1 = gen_subtree(u'ca1', u'Example Organization')
|
|
|
eb7a78 |
+ ca1 = gen_subtree(u'ca1', u'Example Organization Espa\xf1a')
|
|
|
eb7a78 |
gen_subtree(u'subca', u'Subsidiary Example Organization', ca1)
|
|
|
eb7a78 |
gen_subtree(u'ca2', u'Other Example Organization')
|
|
|
eb7a78 |
ca3 = gen_subtree(u'ca3', u'Unknown Organization')
|
|
|
eb7a78 |
--
|
|
|
eb7a78 |
2.26.3
|
|
|
eb7a78 |
|