Dr. Stephen Henson wrote: >On Sat, May 31, 2003, Kikuyo Nagamatsu wrote: > >> Hello all, >> >> Date: Fri, 2 May 2003 14:12:59 +0200 >> Dr. Stephen Henson wrote: >> >However based on that encoding it looks like the correct syntax for the ASN1 >> >form of otherName is: >> > >> >subjectAltName=otherName:2.5.5.5;UTF8:2.16.528.1.1003.1.4.3.4.2.1-0.1.2.3.4 >> > >> >Steve. >> >> I'm trying on openssl_SNAP0529, and above syntax works good. >> But I want to know how to write UTF8 string by DER encoding. >> > >Do you want the actual DER encoding of the UTF8String or the whole extension? > >If you want to enter that into a previous version of OpenSSL as a string >beginning "DER:" you'll need the whole extension. > >If its just UTF8 then the OpenSSL asn1parse utility in 0.9.8 can do that. > >If you want the whole extension you can extract it using the asn1parse >utility, hexdump the result and paste that into the config file. > >If the string you want isn't fixed then things are a bit trickier and you'll >have to generate the encoding somehow, for example OpenSSL 0.9.8 ASN1parse, a >short program or manually. > >Steve.
Thanks a lot. I used the asn1parse utility and pasted the result "HEXDUMP" into conf file, and then I made it. I appricate your advice so much, Kikuyo Nagamatsu ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]