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

Http client plug-in https doesn't work on IBM JRE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 1.0.0
    • fetcher
    • None

    Description

      I want to crawl my site, which is https, using the protocol-httpclient plug-in. However it throws exceptions each request, something about an unknown algorithm "SunX509" for SSL. I don't recall the exact message. I don't have permission to change the JRE on our production server.

      I had to modify DummyX509TrustManager to hardcode the string to "IbmX509" instead of "SunX509" in order to work. It would be better if the plug-in could automatically figure out which one to use. At the very least, try the major ones until you don't hit any exception and take that one.

      Attachments

        1. x509.patch
          1 kB
          Andrzej Bialecki

        Activity

          People

            ab Andrzej Bialecki
            curtispd Curtis d'Entremont
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: