All Apps and Add-ons

SSL Certificate Verify Failed

santorof
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/Splunk_TA_SolarWinds/bin/splunk_ta_solarwinds/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 log_level=INFO, pid=8959, tid=Thread-4, file=http.py, func_name=request, code_line_no=165 | [stanza_name="solarwinds_asset"] 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 log_level=WARNING, pid=8959, tid=Thread-4, file=http.py, func_name=send_request, code_line_no=129 | [stanza_name="solarwinds_asset"] [SSL: CERTIFICATE_VERIFY_FAILED] 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/Splunk_TA_SolarWinds/bin/splunk_ta_solarwinds/cloudconnectlib/core/http.py", line 119, in _send_request
uri, body=body, method=method, headers=headers
File "/mnt-sp1/splunk/etc/apps/Splunk_TA_SolarWinds/bin/splunk_ta_solarwinds/httplib2/
init.py", line 1609, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/mnt-sp1/splunk/etc/apps/Splunk_TA_SolarWinds/bin/splunk_ta_solarwinds/httplib2/
init.py", line 1351, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/mnt-sp1/splunk/etc/apps/Splunk_TA_SolarWinds/bin/splunk_ta_solarwinds/httplib2/
init.py", line 1272, in _conn_request
conn.connect()
File "/mnt-sp1/splunk/etc/apps/Splunk_TA_SolarWinds/bin/splunk_ta_solarwinds/httplib2/
init_.py", line 1059, in connect
raise SSLHandshakeError(e)
SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:676)

muralikoppula
Communicator
0 Karma

santorof
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.

archme
Explorer

managed to solve this issue?

0 Karma

santorof
Path Finder

No I am still having issues and seeing the error.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...