Bypass ssl with MongoDB in Mono


#1

Hi, I want to ask if it possible somehow to ignore errors with SSL certification in MongoDB, it is disabled. But still it spits errors that it uses SSL functions.
Lion warns me about it in this thread: Using NuGet Cassandra database package in C#

But still is it possible? Because I don’t understand why only SSL has impact… It is insane.


#2

Any TLS/SSL things are not working because they depend on some weird native binaries/libraries. I’ve tried to get MongoDB up and running without any success.

If you have the time and patience, you can modify the C# mongodb driver where you hack and slash out all the SSL/TLS parts, this might produce some bugs. I gave up because that would seems too time consuming.

Personally I’m using LiteDB on my server backend.


#3

Okay thank you for the answer. So in Mono there is only problem with SSL? Other libraries that not associated with it should work fine?


#4

No mono specific, FXserver simply does not support SSL/TLS. Anything related to that is out of the question.


#5

Can we expected it fixed in the future? :slight_smile:


#6

Some transcription from discord:

Syntasu - 02/15/2018
Question(s): Why is System.Net.Security not included in the artifacts? Does this have a technical reason? And would it be possible to still use libraries that depend on the System.Net.Security namespace? Can someone shed some light onto this? Thanks! :smile: (or would the forums be a better place to ask this? :ThinkingSnail:

seaborgium - 02/15/2018
because it depends on a weird native TLS library
we’re planning on updating windows mono and making it reproducible sometime tho
both cl/sv variants even!

So the answer is yes, somewhere in the future :stuck_out_tongue:


#7

Thanks, hope it will.