Closed celli33 closed 2 years ago
Can you provide the certificate which is raising issue?
where can I send you the certificate? . EDIT: You can download the certificate from this url: https://rdc.sat.gob.mx/rccf/000010/000004/13/05/37/00001000000413053762.cer
I took a look the certificate and found that most of subject RDNs are TeletexString not UTF8String. That's why subject CN are null. The issuer name of the certificate are in UTF8String. So issuer name will be displayed successfully. Thanks.
ISO 8859-1 latin1 of TeletexString supported since 10.5.12 release today. So 'Ñ' in TeletexString will also be displayed properly.
Thanks, you are the best!
In a certificate when the CNAME contains the character: 'Ñ'. The CNAME returned is
null
. For example: I have a certificate and when I parsed it with OpenSSL I obtain this CNAME:[CN] => COMPAÑIA SANTA MARIA SA DE CV
However when I use the function:parsed.getSubject()
. I obtain:/CN=null/2.5.4.41=null/O=null/uniqueIdentifier=SMA0112284B2 \\/ GOCA741120HY0/serialNumber= \\/ GOCA741120HVZMNR00/OU=null
.