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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...