All Apps and Add-ons

PDF App not working after 4.3 install: An error occured while trying to query remote web server

rsimmons
Splunk Employee
Splunk Employee

error message from python.log:
2012-02-14 10:08:39,801 WARNING Failed to query remote web server at
https://XXXXXX:443/config/version: [Errno 185090050] _ssl.c:341:
error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system lib
2012-02-14 10:08:39,802 ERROR pdfhandler:662 - (400) Remote host does
not look like a Splunk server; aborting PDF generation
2012-02-14 10:08:39,802 ERROR (400) Remote host does not look like a
Splunk server; aborting PDF generation

alosada
New Member

Any clue? Still happening on my splunk server

0 Karma

rsimmons
Splunk Employee
Splunk Employee

On the 1.3 PDF App, it has the latest version of httplib2-0.4.0-4.el5, which added a new argument called "disable_ssl_certificate_validation". Unfortunately, it defaults to false and requires that you set up a list of trusted cert providers to by pass this error.

Go to this url http://httplib2.googlecode.com/hg/python2/httplib2/cacerts.txt save the contents to a txt format and place it copy under /opt/splunk/lib/python2.7/site-packages/httplib2/cacerts.txt. This list of cacerts will let you bypass the error message.

smackdaddyau
New Member

So - how do you fix this?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...