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

Use a single CertKey file picker on the connect form

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      To have a matching behavior for both VSCode and Compass apps use a single CertKey file picker on the connect form instead of having two separate fields for certificate and key. The `sslCert` and `sslKey` node driver options accept the same file type and `sslCert` can be used to accept a single file that contains both certificate and key.

      https://mongodb.github.io/node-mongodb-native/3.6/api/MongoClient.html#.connect

      The old documentation always sets both the cert and key, but they do the same thing. 
      It is all linked to cert and key here https://nodejs.org/api/tls.html#tls_tls_connect_options_callback which supports "certificate chaining".
       
      Note SSL options are deprecated but still supported. If specified both TLS and SSL options the TLS will override the SSL options because they are just aliases.

            Assignee:
            Unassigned Unassigned
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: