That certainly helped me move along. Thank you!Is there a place where the genconf file format is explained? It does not support everything in the openssl config file format.?I was wondering if a file could be specified instead of an ENVIRONMENT variable as well.? From: Dr. Stephen Henson <steve at openssl.org> To: shanthi thomas <elizatom at yahoo.com>; openssl-users at openssl.org Sent: Saturday, September 10, 2016 6:20 PM Subject: Re: [openssl-users] openssl asn1parse using both -genstr and -genconf options On Sat, Sep 10, 2016, shanthi thomas wrote: > Hi,? ? I'm trying to use openssl asn1parse subprogram to encode an ASN1 > structure. Some of the data in the ASN1 structure is static and I was > planning to use a CONF file as shown in the examples for this via the > -genconf option. However some of the data I need to pass via a command line > argument for which I was planning to use the -genstr option.?However, I'm > not sure how to use both the -genstr and the -genconf in a single command. I > could find any examples of this either. ?Can someone point me to any good > examples on how to use both these options together? While you can use -genstr and -genconf together their use is rather limited and probably wont do what you want. Instead I'd suggest passing values using environment variables and uses the config file environment variable options to include them in the appropriate places. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160926/3d8d0101/attachment-0001.html>