[CSHARP-3508] ATLAS AuthenticationException: The remote certificate is invalid according to the validation procedure Created: 30/Mar/21 Updated: 27/Oct/23 Resolved: 07/Apr/21 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Connectivity, Security |
| Affects Version/s: | 2.10.3 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | James Price | Assignee: | Robert Stam |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows Server 2019 |
||
| Description |
|
When connecting to ATLAS cluster from a secure server we're receiving the following error:
Our source looks like this:
As it's caused problems in the past, we've commented out `CheckCertificateRevocation` as we've seen this cause timeouts. However in this case, it's not helping. We DO NOT want to disable certificate validation in production for obvious security reasons.
Things we've tried:
|
| Comments |
| Comment by Robert Stam [ 07/Apr/21 ] |
|
Thanks for letting us know. We will close this ticket based on your update. |
| Comment by James Price [ 01/Apr/21 ] |
|
Apparently the AZURE server that was commissioned for us we missing a few Root CA certificates. The important one being the "DST Root CA X3" certificate. After installing this root CA, we're now able to successfully connect to Atlas and verify the certificate. |