All Apps and Add-ons
Highlighted

SSL Certificate Verify Failed

Path Finder

I just set up the Splunk for Solarwinds App and I am not getting any data. Digging into the internal logs I am seeing errors around SSL certificates.

I edited http.py within /etc/apps/SplunkTASolarWinds/bin/splunktasolarwinds/cloudconnectlib/core to try and disable SSL verification but it does not seem to be working.

This is what is in one of the internal logs for the app:

2019-03-12 15:28:29,312 +0000 loglevel=INFO, pid=8959, tid=Thread-4, file=http.py, funcname=request, codelineno=165 | [stanzaname="solarwindsasset"] Preparing to invoke request to [https://255.255.255.255:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT%20NodeID,%20O...]
2019-03-12 15:28:29,343 +0000 loglevel=WARNING, pid=8959, tid=Thread-4, file=http.py, funcname=sendrequest, codelineno=129 | [stanzaname="solarwindsasset"] [SSL: CERTIFICATEVERIFYFAILED] certificate verification failed. The certificate of the https server [https://255.255.255.255:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT%20NodeID,%20O...] is not trusted, this add-on will proceed to connect with this certificate. You may need to check the certificate and refer to the documentation and add it to the trust list. Traceback (most recent call last):
File "/mnt-sp1/splunk/etc/apps/SplunkTASolarWinds/bin/splunktasolarwinds/cloudconnectlib/core/http.py", line 119, in sendrequest
uri, body=body, method=method, headers=headers
File "/mnt-sp1/splunk/etc/apps/SplunkTASolarWinds/bin/splunktasolarwinds/httplib2/init.py", line 1609, in request
(response, content) = self.request(conn, authority, uri, requesturi, method, body, headers, redirections, cachekey)
File "/mnt-sp1/splunk/etc/apps/SplunkTASolarWinds/bin/splunktasolarwinds/httplib2/init.py", line 1351, in request
(response, content) = self.
connrequest(conn, requesturi, method, body, headers)
File "/mnt-sp1/splunk/etc/apps/SplunkTASolarWinds/bin/splunktasolarwinds/httplib2/init.py", line 1272, in connrequest
conn.connect()
File "/mnt-sp1/splunk/etc/apps/SplunkTASolarWinds/bin/splunktasolarwinds/httplib2/init.py", line 1059, in connect
raise SSLHandshakeError(e)
SSLHandshakeError: [SSL: CERTIFICATEVERIFYFAILED] certificate verify failed (_ssl.c:676)

Highlighted

Re: SSL Certificate Verify Failed

Communicator
0 Karma
Highlighted

Re: SSL Certificate Verify Failed

Path Finder

The answer relates to my environment because I am also running CentOS but I cant find the Python folder in etc they are talking about.

Highlighted

Re: SSL Certificate Verify Failed

Explorer

managed to solve this issue?

0 Karma
Highlighted

Re: SSL Certificate Verify Failed

Path Finder

No I am still having issues and seeing the error.

0 Karma