|
This gives
mongo.exe --sslPEMKeyFile c:\Users\qa377\Downloads\pems\client.pem
MongoDB shell version: 2.5.3-pre-
connecting to: test
2013-10-17T04:33:40.649+0000 Socket recv() errno:10054 An existing connection was forcibly closed by the remote host. 127.0.0.1:27017
2013-10-17T04:33:40.649+0000 SocketException: remote: 127.0.0.1:27017 error: 9001 socket exception [RECV_ERROR] server [127.0.0.1:27017]
2013-10-17T04:33:40.665+0000 DBClientCursor::init call() failed
2013-10-17T04:33:40.680+0000 Error: DBClientBase::findN: transport error: 127.0.0.1:27017 ns: admin.$cmd query:
{ whatsmyuri: 1 }
at src/mongo/shell/mongo.js:146
exception: connect failed
This is same error when connecting without SSL option. Specify the PEM file should default specifying --ssl
|