Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2130

Any "ssl" config option in URI should turn on SSL/TLS

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: 1.7.0
    • Component/s: tls, uri
    • Labels:
      None

      Bug in not-yet-released code from CDRIVER-2004. A URI like this, currently does not turn on SSL:

      mongodb://localhost/?sslclientcertificatekeyfile=client.pm

      We should update the URI parser to turn on SSL if any of the ssl options are present:

      • sslclientcertificatekeyfile
      • sslcertificateauthorityfile
      • sslallowinvalidcertificates
      • sslallowinvalidhostnames

      Explicitly setting ssl=false should disable ssl, even if other ssl related options are set.

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: