Hello,
The following command
openssl pkcs12 -in <p12file> -out <pemfile> -nocerts to extract a key
prompts for a PEM pass phrase and prompts a second time for
verification.
If there is a verify failure the key is not extracted but the return
code is 0.The output file would have the Bag Atrributes and key
Attributes though!
For some other errors like being unable to write to the output file,the
command gives a non-zero return code!
Is there some way to know in a shell script calling the above command
if the verify failed and the key was not extracted?
TIA,
Pradeep.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]