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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: 1.7.0
    • Component/s: tls, uri
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Hannes Magnusson (Inactive)
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: