Limitations of Splunk SSL Trust Store: OS Root CA Auto-Import Not Supported
0 reputation · 20 Feb 2022, 23:42 UTC
0 reputation · 20 Feb 2022, 23:42 UTC
Determine whether Splunk Enterprise 8.x automatically imports operating‑system root Certificate Authority (CA) certificates into its dedicated trust store during HTTPS forwarder ingestion.
Splunk stores trusted CAs in $SPLUNK_HOME/etc/system/local/ssl/ca_certs.pem and does not reference the OS trust store by default. When the OS trust store is updated after Splunk installation, it is unclear if the new root CAs are reflected in ca_certs.pem without manual intervention.
ca_certs.pem after installation?No, Splunk Enterprise 8.x does not automatically import or synchronize new root Certificate Authority (CA) certificates from the operating system's trust store into its internal trust store after installation. If you update the OS-level root CAs, those changes will not be reflected in ca_certs.pem without manual intervention.
Splunk maintains a decoupled security model for its SSL/TLS configurations. While the OS may manage a global store (such as /etc/ssl/certs on Linux or the Certificate Store on Windows), Splunk references a specific PEM-formatted file for its trust chain, typically located at $SPLUNK_HOME/etc/system/local/ssl/ca_certs.pem (or $SPLUNK_HOME/etc/auth/cacert.pem depending on the specific component configuration).
Because Splunk does not poll the OS trust store for updates, any new certificates required for HTTPS forwarder ingestion or API communication must be explicitly added to the Splunk-specific trust store.
To synchronize a new root CA from the OS to Splunk, follow these steps:
cat new_root_ca.pem >> $SPLUNK_HOME/etc/system/local/ssl/ca_certs.pem
splunk user has read permissions for the modified ca_certs.pem file.To verify if the certificate is correctly presented and trusted during a handshake, use the following scoped command from the Splunk server:
openssl s_client -connect <forwarder_host>:<port> -CAfile $SPLUNK_HOME/etc/system/local/ssl/ca_certs.pem
To provide a more tailored recommendation, please specify if you are using a custom SSL configuration (via server.conf) that redirects the sslRootCAFile path to a location other than the default local/ssl/ directory.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.