Shulman Alexandre wrote:

> I'm trying to write a script able to create a self-signed certificate
> automaticaly. I'm using the command:
> openssl req -new -key ${KEY} -x509 -out ${CERT}
>
> Unfortunately, I have to enter the DN information manualy.
> How can I get through the manual request to get the script to do it
> itself?

Write your script with Expect. It's a Tcl extension that handles
interaction with terminals. http://expect.nist.gov.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to