When you click on  Event Action button in Splunk, you will see connectivity error with [SSL: Certificate_verify_Failed]


command=" ", Unable to connect to ServiceNow. Error: Traceback (most recent call last): File "/opt/splunk/etc/apps/TA-ServiceNow-SecOps/bin/", line 42, in postData return, auth=(user, pwd), headers=headers, data=dataValues) File "/opt/splunk/lib/python2.7/site-packages/requests/", line 88, in post return request('post', url, data=data, **kwargs) File "/opt/splunk/lib/python2.7/site-packages/requests/", line 44, in request return session.request(method=method, url=url, **kwargs) File "/opt/splunk/lib/python2.7/site-packages/requests/", line 456, in request resp = self.send(prep, **send_kwargs) File "/opt/splunk/lib/python2.7/site-packages/requests/", line 559, in send r = adapter.send(request, **kwargs) File "/opt/splunk/lib/python2.7/site-packages/requests/", line 382, in send raise SSLError(e, request=request) SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:741)


ServiceNow Splunk Add-on, SecOps Add-on (3921)


Splunk contains its own Python environment, that is different than the host’s Python environment (for both Windows and Linux installs)
ServiceNow's current Splunk Add-on, ServiceNow SecOps Add-on (3921) - leverages a Python script to handle the connect command, to talk to ServiceNow
This Python script leverages the Splunk Python instance that explicitly trusts certain SSL CA Certs (local to Splunk’s Python environment)

Customers with ServiceNow leveraging internally issued SSL certificates (non-public) will need to have Splunk trust this certificate (or the Certificate Authority that issued the certificate), so that they can successfully use the SN SecOps Add-on (3921).


We need to update the Splunk Install Directory

Splunk Install Directory:



File that needs to Modified:



Then Adjust Line 40 and 42 of "" python script to either

1) Ignore SSL verification

2) Create n new directory, Store CA certs in Directory, code path to the directory

Reference :



Article Information

Last Updated:2019-08-02 20:49:37