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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...