[SERVER-13005] MongoDump on server with SSL enabled not able to connect to non ssl server Created: 03/Mar/14 Updated: 18/Aug/16 Resolved: 17/Apr/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dharshan Rangegowda | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
I have a mongo server with ssl enabled. On this server I want to import data that is present on another server. So I want to mongodump and them mongorestore the data. Here is the mongodump command I ran mongodump -h <host> -d <db> -u <user> -p <pass>. I always see the following error I was able to run this command fine on other servers. |
| Comments |
| Comment by Spencer Brody (Inactive) [ 17/Apr/14 ] | |
|
Hi Dharshan, Cheers, | |
| Comment by Spencer Brody (Inactive) [ 06/Mar/14 ] | |
|
If you use mongodump from a non-ssl enabled build, does it work then? If so, can you attach log output from a run of non-ssl mongodump working to dump from the non-ssl source, followed by an ssl-capable mongodump failing to dump from the same non-ssl source mongod? | |
| Comment by Dharshan Rangegowda [ 05/Mar/14 ] | |
|
The server and tools are 2.4.8. The DB I am trying to connect is an older version. | |
| Comment by Andy Schwerin [ 05/Mar/14 ] | |
|
You're certain you have the correct user name, password and target database? What version of the server and tools are you running? | |
| Comment by Dharshan Rangegowda [ 05/Mar/14 ] | |
|
The other way around.I am unable to run mongodump on non SSL servers from a build that has SSL enabled. | |
| Comment by Andy Schwerin [ 05/Mar/14 ] | |
|
To clarify, you're unable to run mongodump when the target host has SSL enabled? Please try passing the ssl flag, as follows:
|