We cannot connect to Cosmos DB using the MongoDB driver when we deploy our application to a test server.
All our Dev machines have no issue but we are getting the following from test. I get thats its an issue with a cert on the Machine but how do we fix it ?
[{ ServerId: "{ ClusterId : 1, EndPoint :
"Unspecified/xxxxxxxxx.documents.azure.com:10255" }",
EndPoint: "Unspecified/xxxxxxxx.documents.azure.com:10255", State:
"Disconnected", Type: "Unknown", HeartbeatException:
"MongoDB.Driver.MongoConnectionException:
An exception occurred while opening a connection to the server. --->
System.Security.Authentication.AuthenticationException:
The remote certificate is invalid according to the validation procedure.
is the issue here the client cert being invalid ?
We have connections to Azure SQL instances without any issues.