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

MongoDB Atlas Cluster Database - can't login with X509 user with Compass

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.24.1
    • Component/s: Compass
    • Labels:
      None
    • Not Needed

      Problem Description

      On version 1.22.1 it was still possible to connect with x509 (user) authentication to cluster db.
      However, after upgrade to 1.24.1, it stopped to work.

      Steps to Reproduce

      1. Fill in connection fields individually
      2. fill cluster dns name in Hostname field
      3. SRV Record enabled
      4. Authentication - X509, username: username as created in Atlas DB
      5. Fill replica set name
      6. Read Preference: Primary
      7. SSL: Server and Client Validation
        1. Certificate Authority: PEM File from Mongo created for X509 User
        2. Client Certificate: PEM File from Mongo created for X509 User
        3. Client Private Key: PEM File from Mongo created for X509 User
      8. Click CONNECT

      Expected Results

      Connects

      Actual Results

      "Auth failed" error

      Additional Notes

      Works perfectly on 1.22.1 Compass version, and on mongo cli.

            Assignee:
            Unassigned Unassigned
            Reporter:
            amikamg@securitydam.com Amikam Goldfarb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: