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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...