[SERVER-24682] allowConnectionsWithoutCertificates not working Created: 21/Jun/16 Updated: 14/Jul/16 Resolved: 23/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 3.0.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Oreste Panaia | Assignee: | Kelsey Schubert |
| 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: | set ssl.mode to requireSSL attempt to connect with mongo shell |
| Participants: |
| Description |
|
When setting net.ssl.mode to requireSSL and when specifying a db version v3.0.6 |
| Comments |
| Comment by Kelsey Schubert [ 23/Jun/16 ] | |||||||||
|
Hi oreste, As per Kinh's comment, we are unable to reproduce the issue describe. I would recommend that you review the configuration of your environment to determine the root cause of this behavior. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. Thank you, | |||||||||
| Comment by Kinh Hoang [ 23/Jun/16 ] | |||||||||
|
I have been unable to reproduce the error.
And connected with the shell using the flags
I also tested with a config file with contents
For all cases, mongod still logged: "no SSL certificate provided by peer", but I was able to connect just fine when allowConnectionsWithoutCertificates was set, and not when allowConnectionsWithoutCertificates was left out. | |||||||||
| Comment by Ramon Fernandez Marina [ 21/Jun/16 ] | |||||||||
|
oreste, what error message does the client get? Would be useful to see a transcript of the client session and the corresponding server logs for the failing connection. Thanks, |