Nelson B Bolyard-2 wrote:
> 
> mich...@vandersman.org wrote, On 2008-12-09 01:55:
> Just uploaded the certificate in DER and PEM file format.
> It can be found here:
> www.boraxx.nl/Mozilla/Thai.der
> www.boraxx.nl/Mozilla/Thai.crt
> 

To generate cert with UTF8 attrs from cmd line (openssl(1)):
- set "string_mask = MASK:0x2002" in openssl.cnf
- add "-utf8" flag in "openssl req" when generating cert request

To generate cert with UTF8 attrs programmatically (ssl(3)):
- use MBSTRING_UTF8 encoding in
X509_NAME_ENTRY_create_by_NID/X509_NAME_add_entry_by_NID and the friends

To check that the attrs of the resulted cert have correct encoding
# openssl asn1parse -in <yourcert>


-----
-- Andrei Korostelev
-- 
View this message in context: 
http://www.nabble.com/UTF8-support-in-the-Firefox-certificate-store--tp20870628p21541907.html
Sent from the Mozilla - Cryptography mailing list archive at Nabble.com.

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to