Re: [openssl-users] openssl asn1parse using both -genstr and -genconf options

2016-09-10 Thread Dr. Stephen Henson
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
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


[openssl-users] openssl asn1parse using both -genstr and -genconf options

2016-09-10 Thread shanthi thomas
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?
Thanks!Elizabeth-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users