I'm trying to automate the generation of certs, and I've found that "openssl
req" under OpenSSL-0.9.4 doesn't like running non-interactively.

There's no "-batch" mode option and if I try to do clever things with
redirecting stdin, it just doesn't work :-(

Can someone tell me how I can automate this so that I can just create a temp
config file, and run it like:

openssl req -new -nodes -keyout key.pem -out req.pem -days 365 \
 -config /tmp/root/temp.conf

and it'll run to completion without requiring me to hit RETURN/etc.

Thanks

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
               
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to