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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...