lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <>
Subject bin/post and self-signed SSL
Date Sun, 05 Feb 2017 17:30:56 GMT

I’m trying to post a document to Solr using bin/post after enabling SSL with self signed
certificate. Result is:

$ post -url https://localhost:8983/solr/sslColl *.html
/usr/lib/jvm/java-8-openjdk-amd64/bin/java -classpath /opt/solr/dist/solr-core-6.4.0.jar -Dauto=yes
-Durl=https://localhost:8983/solr/sslColl -Dc= -Ddata=files org.apache.solr.util.SimplePostTool
lab-index.html lab-ops1.html lab-ops2.html lab-ops3.html lab-ops4.html lab-ops6.html lab-ops8.html
SimplePostTool version 5.0.0
Posting files to [base] url https://localhost:8983/solr/sslColl...
Entering auto mode. File endings considered are xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log
POSTing file lab-index.html (text/html) to [base]/extract
SimplePostTool: FATAL: Connection error (is Solr running at https://localhost:8983/solr/sslColl
?): PKIX path
building failed: unable to find
valid certification path to requested target

Do anyone know a workaround for letting bin/post accept self-signed cert? Have not tested
it against a CA signed Solr...

Jan Høydahl, search solution architect
Cominvent AS -

View raw message