The error I get when I use -genstr is: unknown option -genstr asn1parse [options] <infile where options are -inform arg input format - one of DER TXT PEM -in arg input file -out arg output file (output format is always DER -noout arg don't produce any output -offset arg offset into file -length arg length of section in file -i indent entries -dump dump unknown data in hex form -dlimit arg dump the first arg bytes of unknown data in hex form -oid file file of extra oid definitions -strparse offset a series of these can be used to 'dig' into multiple ASN1 blob wrappings
I read the openssl.txt file but when I try to create a certificate using "ASN1:UTF8String:Some random data" or "IA5STRING:Hello World" in my extension syntax on openssl.cnf I get this error: Error Loading extension section v3_ca 4129:error:2207C081:X509 V3 routines:DO_EXT_CONF:unknown extension:v3_conf.c:128: 4129:error:2206B080:X509 V3 routines:X509V3_EXT_conf:error in extension:v3_conf.c:92:name=extwrk, value=ASN1:UTF8String:Some random data pana 2005/6/15, Nils Larsch <[EMAIL PROTECTED]>: > pana wrote: > > I used those commands: "openssl asn1parse -inform TXT -in in.txt -out > > out.tx" > > "openssl asn1parse ..." doesn't support "TXT" input > > > and "openssl asn1parse -genstr 'UTF8:Hello World' " > > works for me: > > [EMAIL PROTECTED]:~> openssl version > OpenSSL 0.9.8-beta4-dev XX xxx XXXX > [EMAIL PROTECTED]:~> openssl asn1parse -genstr 'UTF8:Hello World' > 0:d=0 hl=2 l= 11 prim: UTF8STRING > > > Then I tryed to use it in the openssl.cnf file > > "myextension=IA5STRING:Hello World" > > did you read doc/openssl.txt ? > > what error messages do you get ? > > Nils > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]