You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2018/09/27 20:58:00 UTC
[jira] [Commented] (NUTCH-2647) Skip TLS certificate checks in
protocol-http plugin
[ https://issues.apache.org/jira/browse/NUTCH-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16631038#comment-16631038 ]
Markus Jelsma commented on NUTCH-2647:
--------------------------------------
Hello Sebastian,
My own implementation of X509TrustManager would not compile for reasons i did not understand, it kept complaining about not overriding the correct methods (thanks to @Override), although i followed the Javadoc.
I utter despair i remembered seeing a dummy in protocol-httpclient, and could copy it verbatim.
So, although i didn't test it (i will, if my example host still has a bad certificate), think protocol-httpclient already by default skips the check.
In that light, would you still consider a switch for the certificate check for e.g. protocol-httpunit, which already borrows a ton from protocol-httpclient.
Thanks!
> Skip TLS certificate checks in protocol-http plugin
> ---------------------------------------------------
>
> Key: NUTCH-2647
> URL: https://issues.apache.org/jira/browse/NUTCH-2647
> Project: Nutch
> Issue Type: Improvement
> Components: protocol
> Affects Versions: 1.15
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Major
> Fix For: 1.16
>
> Attachments: NUTCH-2647.patch
>
>
> Taken from protocol-httpclient, protocol-http now has support for ignoring certificate checks.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)