Hi,
Does anyone know where may I find official documentation which will help me to resolve this problem?
I have renewed a certificate using this tutorial, but for some reason, MongoDB is still not starting.
mongodb.log is showing this error...
2020-04-11T10:27:08.899Z W CONTROL [main] net.ssl.sslCipherConfig is deprecated. It will be removed in a future release.
2020-04-11T10:27:08.902Z F NETWORK [main] The provided SSL certificate is expired or not yet valid.
2020-04-11T10:27:08.902Z F - [main] Fatal Assertion 28652 at src/mongo/util/net/ssl_manager.cpp 1145
2020-04-11T10:27:08.902Z F - [main]
***aborting after fassert() failure
Can anyone here help?
Cheers
Konrad
Hi dyude @conwaw ,
Try this,
Stop the Splunk service.
Rename the server.pem($SPLUNK_HOME/etc/auth) to server.pemck or move the pem file.
Start the Splunk service.
It will generate a new server.pem
Let me know if this helps. 🙂
On Windows, you may get the following error message in mongod.log:
Fatal Assertion 50755 at src\mongo\util\net\ssl_manager_windows.cpp 1609
To fix the error that causes mongod to terminate, you need the following in addition to deleting server.pem:
This worked after lot of research. Thank You..
Just for others.. Dont run certmgr.msc on server. Instead run certlm.msc to see the "SplunkServerDefaultCert" entries.
I was doing this wrong.
appreciate you, thank you so much
Hi dyude @conwaw ,
Try this,
Stop the Splunk service.
Rename the server.pem($SPLUNK_HOME/etc/auth) to server.pemck or move the pem file.
Start the Splunk service.
It will generate a new server.pem
Let me know if this helps. 🙂
This solution is the one I have been looking for. Thank you.
Hi,
I also have to do the same for server_pkcs1.pem file.
it's working! thank you for this 🙏
awesome, thank you, that did it
That worked beautifully for us. Thank you.
This did the trick, thank you!
Thank you for this fix big time.
Thanks, it worked for me.
Hello @conwaw ,
did you find a solution for your problem?
If still not, try this command on the same host and post here a (redacted) output:
openssl s_client -connect localhost:8191
I cannot use Your command because nothing listen on port 8191. This is my problem, its not starting.
Hello Konrad,
ah, I see " The provided SSL certificate is expired or not yet valid." message. Lets check the start and end validity of the certificate.
I assume you used a createssl command with the same parameters as mentioned in the blog post and a new certificate named "server.pem" was (re)created.
can you provide output of following commands:
ls -ltr /opt/splunk/etc/auth
openssl x509 -in /opt/splunk/etc/auth/server.pem -noout -text
and other question: you have a stand alone splunk and not a (SH) cluster, right?