Mongodb failing to start

New Member

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:

 splunk createssl server-cert -d "C:\Program Files\Splunk\etc\auth" -n server.pem -c BLAH -p

Now, I see the following in the mongodb log:

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.

My server config file is now:

serverName = mcso-splunk
pass4SymmKey = $1$hsG8OnpoeonS

sslKeysfilePassword = $7$SsDrXmvwh9d+HupPfZFTztNG2YvcX1+WcBVVQxO9dVhD5ToFr26cKYE00yDMJp7P
sslPassword = $7$VDRTGDCLYgi3pWcL3HOLBXZ7TcSFU6z4XONKdCdf/kE29WOaiNOqzIncFPG4S/Ht

description = auto_generated_pool_download-trial
quota = MAX
slaves = *
stack_id = download-trial

description = auto_generated_pool_forwarder
quota = MAX
slaves = *
stack_id = forwarder

description = auto_generated_pool_free
quota = MAX
slaves = *
stack_id = free

description = auto_generated_pool_enterprise
quota = MAX
slaves = *
stack_id = enterprise

active_group = Enterprise

Any thoughts would be appreciated, thanks.

0 Karma

0 Karma


Can you take a backup of server.conf and remove sslKeysfilePassword stanza as this is deprecated and also sslPassword stanza. Restart SPLUNK, it should add the default sslPassword values again.

The error you see is related to bad password on SSL Certificates .

0 Karma
Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!