manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Butz Joachim <Joachim.B...@hcsolutions.at>
Subject AW: PKIX error, when using https URL in RSS Connection
Date Fri, 27 Jan 2017 10:04:26 GMT
Hi Karl,

Yes, I could crawl this feed with the web connector (this would have been my workaround).

But I applied the patch from CONNECTORS-1371 and now the RSS Connector can also crawl the
feed, so yes it works for me.

Thanks a lot,
Joachim

_______________________________________________

Dipl.-Ing. Joachim Butz
Softwareentwickler

HC SOLUTIONS GesmbH
A - 4030 Linz, Dauphinestraße 5
Telefon: +43 (0)732 / 9394 0
Mobil:
Fax:     +43 (0)732 / 9394 800
E-Mail:  Joachim.Butz@hcsolutions.at
Home:   http://www.hcsolutions.at/
            http://www.tomo-base.at/

Firmenbuchnummer: FN 115314 F
Firmenbuchgericht: Landesgericht Linz
Rechtsform: GesmbH
UID-Nr. ATU 36898407
_______________________________________________





Von: Karl Wright [daddywri@gmail.com]
Gesendet: Donnerstag, 26. Jänner 2017 14:13
An: user@manifoldcf.apache.org
Betreff: Re: PKIX error, when using https URL in RSS Connection

Hi Joachim,

I modified the SSL setup for the RSS connector to match how the web connector does it.  The
ticket for this is CONNECTORS-1371, and there's a patch attached to that ticket.  Please let
me know if it works for you.

It appears that HttpCommons/HttpClient has undergone some non-backwards-compatible changes
over the last year, so I will be auditing all of our connectors that support SSL now as well.

Thanks,
Karl


On Thu, Jan 26, 2017 at 8:01 AM, Karl Wright <daddywri@gmail.com<mailto:daddywri@gmail.com>>
wrote:
Hi Joachim,

The RSS connector by default should use "trust everything", which is why there's no selection
for that in the UI.

The code clearly has support for this in place.  The only way it would not work is if the
https connection you are trying to set up requires public key authentication, or if the usage
of commons/httpclient is somehow incorrect and thus the SSL support is being canceled by some
other default.

Can you crawl this feed with the web connector?

Karl


On Thu, Jan 26, 2017 at 5:31 AM, Butz Joachim <Joachim.Butz@hcsolutions.at<mailto:Joachim.Butz@hcsolutions.at>>
wrote:
Hi,

I am using ManifoldCF 2.6.

I created an RSS Connection with default settings and a Job, which uses this connection (also
with default settings).
In the URLs tab of the job, I added the url: https://lectura.press/en/rss-homepage

Then I start the Job and it completes with Status "Done".

But in the Simple History Report for this job, I get Result Code -103 with the following message:
01-26-2017 09:45:52.115 fetch   https://lectura.press/en/rss-homepage
-103    0       46      sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification
path to requested target

Is it possible in ManifoldCF to have a https URL in a RSS Connection?

In a Web Connection there is a "Certificates" Tab, where e.g. "Trust everything" can be set.
But in an RSS Connection there is no such tab, so it is not clear to me how https URLs can
be handled for an RSS Connection.

Regards,
Joachim
_______________________________________________

Dipl.-Ing. Joachim Butz
Softwareentwickler

HC SOLUTIONS GesmbH
A - 4030 Linz, Dauphinestraße 5
Telefon: +43 (0)732 / 9394 0<tel:%2B43%20%280%29732%20%2F%209394%200>
Mobil:
Fax:     +43 (0)732 / 9394 800<tel:%2B43%20%280%29732%20%2F%209394%20800>
E-Mail:  Joachim.Butz@hcsolutions.at<mailto:Joachim.Butz@hcsolutions.at>
Home:   http://www.hcsolutions.at/
            http://www.tomo-base.at/

Firmenbuchnummer: FN 115314 F
Firmenbuchgericht: Landesgericht Linz
Rechtsform: GesmbH
UID-Nr. ATU 36898407
_______________________________________________















Mime
View raw message