Hello, is there a documentation regarding several splunk-launch.conf variables for python like SSL_VERIFY, SSL_CERT_FILE, REQUESTS_CA_BUNDLE...?
Thanks for your help.
Hi @splunkreal,
Are you trying to modify default Splunk behavior, or are you writing custom Python code for Splunk?
As @PickleRick wrote, splunk-launch.conf.spec contains environment variable descriptions, and splunk-launch.conf contains variable definitions.
Not all environment variables in the documentation are Splunk variables, and not all variables used by other components are in the documentation.
If you're unsure of your default Splunk Python version, you can check directly.
In Splunk Enterprise 10.6.1.1 for Linux, for example:
$ $SPLUNK_HOME/bin/splunk cmd python -V
Python 3.13.11That leads us to:
https://docs.python.org/3.13/using/cmdline.html#environment-variables
In some cases, you'll need to search PEP-specific documentation. You'll find PYTHONHTTPSVERIFY in PEP-493:
https://peps.python.org/pep-0493/#feature-environment-based-configuration
In Spunk, SSL_VERIFY and SSL_CERT_FILE probably belong to OpenSSL, and REQUESTS_CA_BUNDLE belongs to the Python requests module.
For SSL_VERIFY and SSL_CERT_FILE:
$ $SPLUNK_HOME/bin/splunk cmd openssl version
OpenSSL 3.5.9 29 Sep 2026 (Library: OpenSSL 3.5.9 29 Sep 2026)https://docs.openssl.org/3.5/man7/openssl-env/
For REQUESTS_CA_BUNDLE:
$ /opt/splunk/bin/splunk cmd python -c '
> import requests
> print(requests.__version__)
> '
2.32.5https://requests.readthedocs.io/en/stable/user/advanced/#ssl-cert-verification
PYTHONHTTPSVERIFY is used by the Python urllib package. You must disable certificate verification programmatically when using the requests module.
All other variables in splunk-launch.conf.spec belong to Splunk.
I don't think there is a specific documentation for those.
The important bit of the docs is this:
* Environment variables set here will be available to all Splunk platform processes, barring operating system limitations.
So they should be passed on to processed spawned from splunkd and have their typical meaning.
One thing which is not documented (and I have not tested it) is whether there is any expansion happening with those settings. And if it is, when it is done.