Check to see if kvstore is running:
%SPLUNK_HOME%\bin splunk show kvstore-status --debug
If the status is not "ready" or "failed", check /opt/splunk/var/lib/splunk/kvstore/mongo/mongod.log for these errors:
E NETWORK [conn159] SSL peer certificate validation failed: self-signed certificate in a certificate chain I NETWORK [conn159] Error receiving request from client: SSLHandshakeFailed: SSL peer certificate validation failed: self signed certificate in certificate chain. Ending connection
If these errors are present, Splunk will see the self-signed certificate from the new app instead of what Kvstore should use. There will also be constantly rolling errors, with Mongod trying to start and failing.
Check the configuration with btool to see what certificates and settings are used. Make a note of those settings:
%SPLUNK_HOME%\bin splunk btool server list sslconfig --debug %SPLUNK_HOME%\bin splunk btool server list kvstore --debug
The setting causing conflict is caCertFile, and the pem with that information can contain multiple CAcerts.
1. Create a new pem file and concatenate the cacert.pem, $SPLUNK_HOME/etc/auth/, kvstore is using with the cacert.pem file that the new configuration is using.
The new pem file needs to include the BEGIN and END CERTIFICATE information. Example below:
-----BEGIN CERTIFICATE-----
Abc...99
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
AbcI..99=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
Abc...99==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
Abc...99=
-----END CERTIFICATE-----
Ensure the second certificate gets added to a new line and not the same one with the END CERTIFICATE line from the last certificate.
2. Once the new combined pem file is available, update the $SPLUNK_HOME/etc/system/local/server.conf file under the [sslConfig] stanza with sslRootCAPath setting pointing to the new, combined pem file. Example below:
[sslConfig]
sslRootCAPath=/opt/splunk/etc/auth/combined_cacert.pem
3. Restart Splunk
%SPLUNK_HOME%\bin splunk restart
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
30-Sep-2026
|
Initial Release |