On Fri, Dec 18, 2009, Dave Thompson wrote: > > > 2. openssl asn1parse -inform der -in my.key -strparse 22 -out > mypubkey.der > > 3. openssl sha1 -c mypubkey.der > > SHA1(mypubkey.der)= > 8d:51:f3:a7:03:5a:79:ca:14:1c:5f:9d:92:39:32:28:a8:1e:e3:7f > > asn1parse -strparse will decode the structure embedded in a field, as here, > but its output is not DER, not even remotely; it's a human-readable dump. >
NB: the -out command line switch writes the field in DER. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org