“Search peer <indexername> has the following message: Failed to start KV Store process. See mongod.log and splunkd.log for details.”Upon further investigation, checked in the mongod.log file shows that the SSL certificate is expired as the root cause for KV Store Migration failure as shown in the sample log below:
2023-09-26T21:06:15.435Z F - [main] Fatal Assertion 28652 at src/mongo/util/net/ssl_manager_openssl.cpp 987 2023-09-26T21:06:15.435Z F - [main] \n\n***aborting after fassert() failure\n\n 2023-09-27T09:13:30.963Z W CONTROL [main] net.ssl.sslCipherConfig is deprecated. It will be removed in a future release. 2023-09-27T09:13:30.979Z F NETWORK [main] The provided SSL certificate is expired or not yet valid. 2023-09-27T09:13:30.979Z F - [main] Fatal Assertion 28652 at src/mongo/util/net/ssl_manager_openssl.cpp 987 2023-09-27T09:13:30.979Z F - [main] \n\n***aborting after fassert() failure\n\n 2023-09-27T09:19:38.606Z W CONTROL [main] net.ssl.sslCipherConfig is deprecated. It will be removed in a future release. 2023-09-27T09:19:38.615Z F NETWORK [main] The provided SSL certificate is expired or not yet valid. 2023-09-27T09:19:38.615Z F - [main] Fatal Assertion 28652 at src/mongo/util/net/ssl_manager_openssl.cpp 987 2023-09-27T09:19:38.615Z F - [main] \n\n***aborting after fassert() failure\n\n
This has taken place if the certificate used by Splunkd to communicate with Mongod has expired. Verify your certs are valid. For example, to validate the expiration date for server.pem you can run:
From $SPLUNK_HOME/etc/auth/openssl x509 -enddate -noout -in ./server.pem
notAfter=Dec 10 14:017:25 2022 GMT
$SPLUNK_HOME/bin/splunk help createssl
$SPLUNK_HOME/bin/splunk createssl server-cert -d $SPLUNK_HOME/etc/auth -n server -c cn.domain.com -l 2048
From $SPLUNK_HOME/etc/auth/
openssl x509 -enddate -noout -in ./server.pem
notAfter=Aug 22 15:30:45 2024 GMT
Related Knowledge Base Articles:
ERROR: KV Store changed status to failed, KV Store process terminated abnormally (exit code 14, status exited with code 14), F NETWORK The provided SSL certificate is expired or not yet valid" is seen in mongod.log
Expired TLS certificate and KV Store will not start, exit code 14 fatal assertion 28652
KVStore in failed state due to SSL certificate expiry
Splunk Docs:
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |