Hi binlu > From: Bin Lu > > Re-post … as nobody responded. > > 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?
this works for me for subject DNames with UTF8String encoded RDNs: $ openssl x509 -subject -noout -nameopt esc_2253 -nameopt esc_ctrl -nameopt utf8 -nameopt dump_nostr -nameopt dump_unknown -nameopt dump_der -nameopt sname -nameopt sep_comma_plus -in <cert_file> HTH, Patrick Eisenacher