Hi,
you seem to have uncovered a DataPower bug, please create a support ticket.
I used WebGUI crypto tool with ST=Haryāna is (not S) and downloaded the created temporary:///foo.csr.
Then I saw what you reported:
$ openssl asn1parse -i -in foo.csr | grep Hary
35:d=5 hl=2 l= 10 prim: UTF8STRING :HaryÄna
$
------------------------------
Hermann Stamm-Wilbrandt
Compiler Level 3 support, IBM DataPower Gateways
IBM
Boeblingen
------------------------------
Original Message:
Sent: Thu November 28, 2024 09:42 AM
From: Shanmuga Rajendra
Subject: Special character in S(State) of subject getting changed while generating CSR using crypto tool
Hi Everyone, I'm generating CSR and Private key using crypto tool to renew existing certificate with special charater in S field of subject. While generating CSR, I see S=Haryāna is the value in existing certificate and provided the same value but when looking at CSR file, it got changed to S = HaryÄna. It seems to be some encoding conversion happened in the background while generating CSR in DataPower crypto tool and ā doesn't seem to be supported in ANSI encoded text. Could someone help how to get this sorted since I need to have same value for DN in the newly generated CSR/Certificate.
------------------------------
Shanmuga Rajendra
Datapower admin
------------------------------