[SERVER-12748] Disallow invalid combinations of sslMode and clusterAuthMode Created: 14/Feb/14 Updated: 11/Jul/16 Resolved: 19/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.5.5 |
| Fix Version/s: | 2.6.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shaun Verch | Assignee: | Andreas Nilsson |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
The invalid states are as follows:
The above table must be checked at startup time. At runtime, only the following must be checked to preserve these invariants: sendKeyFile -> sendX509: Verify that sslMode is either preferSSL or requireSSL |
| Comments |
| Comment by Githook User [ 10/Jun/14 ] |
|
Author: {u'name': u'Shaun Verch', u'email': u'shaun.verch@mongodb.com'}Message: |
| Comment by Githook User [ 19/Feb/14 ] |
|
Author: {u'username': u'agralius', u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@10gen.com'}Message: |
| Comment by Andreas Nilsson [ 19/Feb/14 ] |
| Comment by Andreas Nilsson [ 18/Feb/14 ] |
|
The first invalid state is already taken care of. We do check that SSL is enabled before allowing a clusterAuthMode requiring SSL support. |