Hey there,
From what I can tell by reading through the source code for the Mongo C# Driver, it does not parse certificates from the connection string. You have to manually add in the certificates yourself by modifying the MongoClientSettings.SslSettings property. Is that right? Is there something I’m missing? Is there some easier way to add in certificates using the connection string?
My connection string currently looks like:
mongodb:///?authSource=%24external&authMechanism=MONGODB-X509&retryWrites=true&w=majority&ssl=true&tlsCertificateKeyFile=.pfx&tlsCertificateKeyFilePassword=&tlsInsecure=true
Thanks