The problem is when the filenames are the same.  Possibly a file resource
is locked before being accessed a second time?

version: OpenSSL 1.0.1 14 Mar 2012
OS: Ubuntu 12.04

Input
---------
openssl pkcs12 -export -password file:certs/test3.pass -passin
file:certs/test3.pass -in certs/test3.pem -out certs/test3.pkcs12

Output
---------
Error reading password from BIO
Error getting passwords

Work around
------------------
cp certs/test3.pass certs/test3.pass2
openssl pkcs12 -export -password file:certs/test3.pass -passin
file:certs/test3.pass2 -in certs/test3.pem -out certs/test3.pkcs12

-- 
Quentin | Clear Blue Water Pty Ltd
[email protected]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to