Closed LindnerBrewery closed 11 months ago
Solved the issue.
&tlsInsecure=true
also has to be added to the connection string, which is not needed when using mongosh.exe.
Solved the issue.
&tlsInsecure=true
also has to be added to the connection string, which is not needed when using mongosh.exe.
Great! Thank you for reporting the issue and posting the solution.
Just set a mongoDB server with a self-signed certificate and TLS enabled.
First I execute:
connect-mdbc "mongodb://admin:Test123!@localhost:27017/?tls=true&tlsAllowInvalidCertificates=true"
Then when callingGet-MdbcDatabase
I get following error:Using the same connection string with mongosh.exe works fine. After turning off TLS, which I don't want to, MDBC can connect without any issues.
I'm using MDBC 6.6.5