-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Security
-
None
-
Fully Compatible
-
ALL
Start mongo shell specifying encrypted cert file and supplying invalid password. Should FAIL With informative error message.
ubuntu@ip-10-36-133-56:~/mongodb-linux-x86_64-subscription-ubuntu1104-2.4.0-rc0$ ./bin/mongo --ssl --sslPEMKeyFile ../mark.pem --sslPEMKeyPassword mongo1
MongoDB shell version: 2.4.0-rc0
connecting to: test
Mon Feb 25 10:07:48.138 ERROR: cannot read key file: ../mark.pem error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
Mon Feb 25 10:07:48.139 Error: ssl initialization problem src/mongo/shell/mongo.js:112
exception: connect failed