Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Nutch with solr on https

Quent Quent:

Good morning, I come to you because I have a problem with Nutch (1.14) and Solr (7.2)

so it works fine until I put SSL in place.

With Solr in http, once the crawl is finished I execute this command


bin/nutch index -Dsolr.server.url=http://127.0.0.1:8983/solr/CORENAME crawltest/crawldb/ -linkdb crawltest/linkdb/ crawltest/segments/* -filter -normalize -deleteGone

And it works very well

However, once SSL is activated and the solr server in HTTPS, it is impossible to send the data to Solr. I have added in Nutch site the following properties


solr.auth
true


solr.auth.username
xxxx


solr.auth.password
xxxx

property>
solr.server.type
https
property>
solr.server.url
https://127.0.0.1:8983/solr/CORENAME

But when I execute the previous command I get an error of this type


Caused by: org.apache.solr.client.solrj.SolrServerException: IOException occured when talking to server at: https://127.0.0.1:8983/solr/CORENAME

&


caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

&


Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Did you succeed in sending the data to a HTTPS solr? Thanks



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Nutch with solr on https

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×