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

X.509 chosen SSH values reset if unsuccessful connection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: 1.26.0
    • Component/s: Compass, Connectivity
    • Labels:
      None

      Problem Description

      Affects the Beta version, 1.26.0-beta.0 (but not a choice in the Jira field above).

      X.509 chosen X.509/TLS/SSH values reset if unsuccessful connection

      Steps to Reproduce

      Enter a Hostname "mongodb+srv://ls.ab.mongodb.net/test"
      Choose SRV Record toggle (enable it)
      Click "More Options"
      Fill in Replica Set Name "abc"
      Read Preference Primary
      Choose a PEM file for the 3 Cert fields
      Click "Connect" button
      It will fail as expected.

      However, error is "URI does not have hostname, domain name and tld". Error message is not accurate.
      Click Hostname tab
      Modify Hostname to anything (make a small change to text)
      Click on "More Options" and the Certificates have been erased and SSL says, "System CA/ Atlas Deployment".

      Expected Results

      Expected previous SSL choice and 3 certificate file names were saved

      Actual Results

      See attachment

      Additional Notes

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: