On Sat, Aug 18, 2012, Charles Mills wrote: > This is probably the world's most basic question but I can't find the > answer. > > > > I have the following in my OpenSSL config file: > > > > <snip> > > [ usr_cert ] > > <snip> > > subjectAltName = @alt_names > > <snip> > > [ alt_names ] > > DNS.1 = foo.com > > DNS.2 = bar.com > > <snip> > > > > It's working as expected. But what I am trying to get it to do is either > prompt the user, or accept foo.com and bar.com on the command line. How do I > do that? > > Is there documentation for the basic scheme of the configuration file? All I > have found is documentation for particular usages, but no syntax overview; > how you might say DNS.1 = @prompt or something like that. > >
There is no prompt option but you can use the $ENV syntax to expand an environment variable and use that on the command line. 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