You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2008/10/13 20:16:44 UTC

[jira] Commented: (NUTCH-636) Http client plug-in https doesn't work on IBM JRE

    [ https://issues.apache.org/jira/browse/NUTCH-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639149#action_12639149 ] 

Andrzej Bialecki  commented on NUTCH-636:
-----------------------------------------

Actually, under Sun JVM the following line works, too:

TrustManagerFactory factory = TrustManagerFactory.getInstance("X509");

Can you test this with IBM runtime?

> Http client plug-in https doesn't work on IBM JRE
> -------------------------------------------------
>
>                 Key: NUTCH-636
>                 URL: https://issues.apache.org/jira/browse/NUTCH-636
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 0.9.0
>         Environment: Suse Enterprise Linux SLES 10 SP1
> java version "1.5.0"
> Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20080315 (SR7))
> IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20080315 (JIT enabled)
> J9VM - 20080314_17962_lHdSMr
> JIT  - 20080130_0718ifx2_r8
> GC   - 200802_08)
> JCL  - 20080314
>            Reporter: Curtis d'Entremont
>         Attachments: x509.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.