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!

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 ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...