Bin Lu wrote:
> If I use "-nameopt utf8" option, the output of the subject is empty even for 
> ascii string subject DN. This does not seem to match what is said in the man 
> page. A bug?
> 
> Please try out with the attached certificate (removing the .txt ext).

Are the DN attributes with non-ASCII chars supposed to be encoded as UTF8String?

dumpasn1 output reveals TeletexString being used instead:

 253   21:       SET {
 255   19:         SEQUENCE {
 257    3:           OBJECT IDENTIFIER organizationName (2 5 4 10)
 262   12:           TeletexString '346267.345..347275.347273.'
         :           }
         :         }
[..]
 289   27:       SET {
 291   25:         SEQUENCE {
 293    3:           OBJECT IDENTIFIER commonName (2 5 4 3)
 298   18:           TeletexString 'www.d8t.net-中346..'
         :           }
         :         }


Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to