Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2765

Unify and cleanup X509TrustManager

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.16
    • 1.21
    • protocol

    Description

      Multiple plugins use a separate implementation of the javax.net.ssl.X509TrustManager to optionally skip TLS certificate checks (NUTCH-2647).

      • protocol-httpclient, protocol-http, and with NUTCH-2649 also protocol-selenium, protocol-interactiveselenium, protocol-htmlunit use identical copies of DummyX509TrustManager
        1. there should be a single class implementation either in the plugin lib-http or in the core package org.apache.nutch.net.protocols
        2. the DummyX509TrustManager needs a clean up: it still keeps a lot old stuff relating to the sun.net.ssl.X509TrustManager interface
      • protocol-okhttp includes a minimalistic anonymous class implementing X509TrustManager

      Attachments

        Activity

          People

            balakuntala Shashanka Balakuntala Srinivasa
            snagel Sebastian Nagel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: