[SERVER-25151] mongo shell and connection string (make "ssl" work if present in the connection uri) Created: 19/Jul/16 Updated: 27/Nov/17 Resolved: 15/Sep/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.14 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kay Kim (Inactive) | Assignee: | Samantha Ritter (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Backport Requested: |
v3.2
|
||||||||||||||||||||||||||||
| Sprint: | Platforms 2016-08-26, Platforms 2016-09-19 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||||||||||||||
| Description |
|
I was wondering why with the mongo shell, you cannot include the ssl=true option in the connection string? the following works
but the following does not
|
| Comments |
| Comment by Githook User [ 15/Sep/16 ] | |||||||||||||||||||||||||||
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: | |||||||||||||||||||||||||||
| Comment by Githook User [ 13/Sep/16 ] | |||||||||||||||||||||||||||
|
Author: {u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}Message: | |||||||||||||||||||||||||||
| Comment by Samantha Ritter (Inactive) [ 13/Sep/16 ] | |||||||||||||||||||||||||||
|
re-opening to add some tests, which can also cover | |||||||||||||||||||||||||||
| Comment by Samantha Ritter (Inactive) [ 13/Sep/16 ] | |||||||||||||||||||||||||||
|
Our documentation already discusses the ssl=true/false option in URIs, but it's worth explaining how this will work in the shell. URIs can be used with the shell in two ways, either on startup on the command line, or from within a shell session:
To use ssl=true, the shell must have been started with the --ssl command-line option, like so:
If a URI does not set ssl=true/false explicitly, the SSL options for that connection will default to the shell's startup options.
| |||||||||||||||||||||||||||
| Comment by Bernie Hackett [ 19/Jul/16 ] | |||||||||||||||||||||||||||
|
This would seem to be a problem for Atlas, since the URL provided for connection includes the ssl option. |