All Apps and Add-ons

SSL Certificate Verify Failed

santorof
Communicator

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
Communicator

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
Communicator

No I am still having issues and seeing the error.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...