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!

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...