Looking at http://www.openssl.org/docs/apps/ca.html you can designate the -passin option whose argument has several options including environment variable and direct input with pass:<passphrase> which should be fine for your local tests.
Cheers, Ben > On 20 May 2014, at 17:45, "Dalisay, Christopher V" > <christopher.dali...@pnnl.gov> wrote: > > Using this cmd, from openssl's CA app: > > openssl ca -revoke certs/07.pem -config ca.cnf > > I am able to revoke a cert. Since I have a pass phrase attached to it, I need > to manually enter the passphrase everytime I revoke this cert (purely for > testing purposes). Trying to either leverage a windows batch file or > powershell script to pass in this pass phrase when prompted. > > Has anyone written something like this? > > Thank you. > ¥éÒH³ë¢7œ¶m§ÿðà > )z{,–ŠàRÇ«Jêi¢»Lj)bžâ²Ú)z{,–ë®Ê)z{,–Šàëh™«^t¸¬´Æ§j«™¨èÚ&¢Š^žË%¢¸ ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org