Is there a command line option for openssl to just verify a password for a key?
I thought I could use a line in a script like: echo Please enter password for key read $passwd if openssl verifypassword -in MyKeyFile.pem -password "$passwd"; then echo Password OK else echo wrong password exit fi ... I know there is no switch called "verifypassword", but I wonder if there's an easier way of finding out if a password for a des3 encrypted key is correct in a script than signing some fake-request. -- Regards, Torsten (0> //\ V_/_ Tolerance rocks! ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]