Splunk: Upgraid failed to 9.4 because of KV-Store
Problems with KV-Store upgrade
- after Upgrading to Splunk 9.4 the KV-Store needs an upgrade to the Version 7.0
- this failed in our environment
- look for errors in mongodb log:
index=_internal error sourcetype=mongod SSLHandshakeFailed
How did we resolve this?
At first validate your kv-store status:
bin/splunk show kvstore-status --verbose
- Check you SSL config, by now KV-Store 7.0 does not support custom certificates (Splunk Help)
/bin/splunk cmd btool server list sslConfig
- so splunk recons you to use the default one
- validate your certs: (About self-renewing default splunk certificates)
bin/splunk cmd openssl verify -verbose -x509_strict -CAfile etc/auth/cacert.pem server.pem
- in my case the default cert are expired and i need to create new ones
- At first copy the old ones to *.old (as a backup if something goes wrong)
mv ca.pem ca.pem.bak, mv cacert.pem cacert.pem.bak, mv server.pem server.pem.bak
- ```bin/genRootCA.sh -d etc/auth``
- At first copy the old ones to *.old (as a backup if something goes wrong)
References
This post is licensed under CC BY 4.0 by the author.