I am running Splunk 8.0 on a Windows 2012 R2 server. When I start Splunk I am getting the kvstore failed error.
In trying to fix it, I noticed that the server SSL certificate had expired and mongo was not starting.
I generated a new certificate using:
2019-11-01T19:48:22.804Z W CONTROL [main] net.ssl.sslCipherConfig is deprecated. It will be removed in a future release.
2019-11-01T19:48:22.908Z E NETWORK [main] cannot read PEM key file: C:/Program Files/Splunk/etc/auth/server.pem error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
2019-11-01T19:48:22.908Z F CONTROL [main] Failed global initialization: InvalidSSLConfiguration: Can not set up PEM key file.