All Apps and Add-ons

Splunk Add-on Builder Rest API inputs [SSL: CERTIFICATE_VERIFY_FAILED]

JLopez
Explorer

Hi Guys,

We have an on prem server where the Software run and provide the API URL.

I'm testing the API URL with the Splunk add-on builder with a custom app. 

When I run the API rest url on my browser, I get the warning "you connection isn't private" ERR_CERT_AUTHORITY_INVALID

pass that and I get prompt to login. 

I login and I get the data just fine.

BUT when I try to do it with the add-on builder I get the error: 

File "/opt/splunk/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106)


I pass the user and password on the inputs but I always get the same error.

Anyone had this issue and know how to solve it? is it any path I could add the server certificate?

Thanks

 

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...