Manages Splunk's cacert.pem so that custom certs can be added. Takes certs from the app's "cert" directory and appends
them to cacert.pem.
9.1, 9.0, 8.2, 8.1, 8.0
Follow the below installation instructions, and for step 2 download the latest certifi cacert.pem.
chmod u+w $SPLUNK_HOME/lib/python2.7/site-packages/requests/cacert.pem
For Splunk 8:
chmod u+w $SPLUNK_HOME/lib/python2.7/site-packages/certifi/cacert.pem chmod u+w $SPLUNK_HOME/lib/python3.7/site-packages/certifi/cacert.pem
diff $SPLUNK_HOME/lib/python2.7/site-packages/requests/cacert.pem $SPLUNK_HOME/lib/python2.7/site-packages/requests/cacert_orig.pem
Splunk 8:
diff $SPLUNK_HOME/lib/python3.7/site-packages/certifi/cacert.pem $SPLUNK_HOME/lib/python3.7/site-packages/certifi/cacert_orig.pem
If the diff shows no difference between those two files, or if cacert_orig.pem doesn't exist, something went wrong.
Check the log for details with this search:
index="_internal" sourcetype="splunkd" ERROR manage_cacert.py
Add an app.manifest and specify py3 in inputs.conf
Version 1.1.0
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.