Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-673

MongoURI should allow configuring default SSL socket factory

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

      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:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            christianbrensing Christian Brensing
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: