[SERVER-14700] copydbgetnonce over SSL fails with "socket exception [CONNECT_ERROR]" Created: 26/Jul/14  Updated: 09/Jul/16  Resolved: 29/Jul/14

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: Ramon Fernandez Marina
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

On Mac OS X on the current master branch, hash 00b5c825, start mongod:

./mongod --nojournal --sslOnNormalPorts --sslPEMKeyFile jstests/libs/server.pem --sslCAFile jstests/libs/ca.pem --sslCRLFile jstests/libs/crl.pem --auth

Connect with the shell:

./mongo --ssl --sslPEMKeyFile jstests/libs/client.pem admin

Create a user:

> db.createUser({user: 'admin', pwd: 'pwd', roles: [{role: 'root', db: 'admin'}]})

Run "copydbgetnonce":

> db.runCommand({copydbgetnonce: 1, fromhost: null})
{
	"errmsg" : "exception: socket exception [CONNECT_ERROR] for ",
	"code" : 9001,
	"ok" : 0
}

Participants:

 Description   

When a client connects to mongod over SSL and executes the "copydbgetnonce" command, the server responds with the error:

{
	"errmsg" : "exception: socket exception [CONNECT_ERROR] for ",
	"code" : 9001,
	"ok" : 0
}

The client-server connection itself works.



 Comments   
Comment by A. Jesse Jiryu Davis [ 29/Jul/14 ]

Rebuilt mongo and mongod at current HEAD (747176e1) and can't reproduce; perhaps I had a mis-built client or server on my machine.

Generated at Thu Feb 08 03:35:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.