Splunk Dev

Help on coding path to Splunk app cert

aa70627
Communicator

Hi all, 

I'm currently trying to add a certificate to my splunk app to allow it to communicate to intranet site with ntlm authentication. I currently have my cert in the bin folder as noted below. Whats the correct value for vpath ? 

I've tried different variations and nothing seems to work. Can someone help confirm what's the correct string value to assign the cert path?

vpath="cert/sp.pem" 

vpath="$splunk_home/etc/apps/TA-myapp/bin/cert/sp.pem "

 

response=requests.get(url,auth=auth,headers=header,verify=vpath)  

$splunk_home/etc/apps/TA-myapp/bin/cert/sp.pem 

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

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...