code: private void configureTLS(URL url, URLConnection conn) {
          if ("https".equals(url.getProtocol())) {
              try {
                  final HttpsURLConnection secCon = (HttpsURLConnection) conn;
                  final SSLSocketFactoryEx factory = new SSLSocketFactoryEx(settings);
                  secCon.setSSLSocketFactory(factory);
              } catch (NoSuchAlgorithmException ex) {
                  LOGGER.debug("Unsupported algorithm in SSLSocketFactoryEx", ex);
              } catch (KeyManagementException ex) {
                  LOGGER.debug("Key management exception in SSLSocketFactoryEx", ex);
              }
          }
      }
docs: If the protocol is HTTPS, this will configure the cipher suites so that
  connections can be made to the NVD, and others, using older versions of
  Java.
  
  @param url the URL
  @param conn the connection