[SERVER-36827] Warning about "No SSL certificate validation can be performed" is misleading Created: 23/Aug/18  Updated: 29/Oct/23  Resolved: 05/Sep/18

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

Type: Improvement Priority: Minor - P4
Reporter: Jonathan Reams Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Security 2018-09-10
Participants:

 Description   

Created from https://groups.google.com/d/msgid/mongodb-user/648dde1f-79ef-4056-85a4-7eaa2fcf8178%40googlegroups.com. The startup warning

** WARNING: No SSL certificate validation can be performed since no CA file has been provided
**          Please specify an sslCAFile parameter.

should actually read

** WARNING: No client certificate validation can be performed since no CA file has been provided
**          Please specify an sslCAFile parameter.

As long as the user has specified a valid SSLPEMKeyFile, TLS is working correctly and the client should be able to validate the server's certificate, and that is a common use case.



 Comments   
Comment by Githook User [ 14/Sep/18 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyaskalyan@gmail.com', 'username': 'shreyaskal'}

Message: SERVER-36827 Warning about "No SSL certificate validation can be performed" is misleading

(cherry picked from commit a432a114702f5ccca8fe8fb635f249a79e711576)
Branch: v4.0
https://github.com/mongodb/mongo/commit/7175fb8928cf48926caece2f7ded66dba3f47955

Comment by Matt Lord (Inactive) [ 05/Sep/18 ]

Any issues with backporting this to 4.0? Thanks!

Comment by Githook User [ 05/Sep/18 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyaskalyan@gmail.com', 'username': 'shreyaskal'}

Message: SERVER-36827 Warning about "No SSL certificate validation can be performed" is misleading
Branch: master
https://github.com/mongodb/mongo/commit/a432a114702f5ccca8fe8fb635f249a79e711576

Generated at Thu Feb 08 04:44:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.