MongoURI should allow configuring default SSL socket factory

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.11.0
    • Affects Version/s: None
    • Component/s: API
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      MongoURI should allow configuring a default SSL socket factory if the option ssl is set to true. This would allow specifying TLS as part of the connection URI.

      A possible implementation would look like this:

      parseOptions
      ...
      else if ( key.equals( "ssl" ) && _parseBoolean( value )) _options.socketFactory = SSLSocketFactory.getDefault();
      ...
      

              Assignee:
              Jeffrey Yemin
              Reporter:
              Christian Brensing
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: