Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8374

Expired certificates in Windows' certificate store cause connection failures

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Developer Tools

      Problem Statement/Rationale

      The MongoDB clusters are configured with "requiredTLS".  There are no issues really with TLS.
      The client has issues with Compass because their Certificate Store in Windows may contain valid and expired certificates.  "mongosh" consistenly chooses the valid certificates to connect.  However, Compass selects expired certificates not always but most of the time.  With the latest release of Compass, things have gotten worse for this client.

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Expected Results

      Do not use expired certificates if there is another certificate that would match and is not expired.

      Actual Results

      What do you observe is happening?

      Additional Notes

      Customer's help case:  https://hub.corp.mongodb.com/case/01359379

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.mas@mongodb.com Kevin Mas Ruiz
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: