[CSHARP-1744] MongoDbDriver v 2.3.0-beta1 for .NET Core uses unsupported Ssl3 as one of the default enabled ssl protocols causing SslStream.AuthenticateAsClientAsync to throw a System.NotSupportedException Created: 10/Aug/16  Updated: 23/Sep/16  Resolved: 14/Aug/16

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 2.3.0-beta1
Fix Version/s: 2.3

Type: Bug Priority: Major - P3
Reporter: Anand Kannan Assignee: Craig Wilson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Need to change the default protocol to be one supported by .NET core (Tls, Tls11, or Tls12)

Brought it up with .NET folks first:
https://github.com/dotnet/corefx/issues/10700#issuecomment-239001750



 Comments   
Comment by Githook User [ 11/Aug/16 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-1744: changing ssl protocol defaults to only support tls.
Branch: v2.4.x
https://github.com/mongodb/mongo-csharp-driver/commit/e126d1870565d81e5b86547f9bab851b62ec87f2

Comment by Githook User [ 11/Aug/16 ]

Author:

{u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}

Message: CSHARP-1744: changing ssl protocol defaults to only support tls.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/e126d1870565d81e5b86547f9bab851b62ec87f2

Comment by Craig Wilson [ 10/Aug/16 ]

Thanks for the report. We'll definitely get it handled.

For now, you can change the default in MongoClientSettings using SslSettings.EnabledSslProtocols.

Generated at Wed Feb 07 21:40:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.