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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...