got the same error. started yesterday. I am on fedora 38 workstation. What I did was I uninstalled mongodb and the delete mongodb repo from /etc/yum.repos.d/. And then I manually installed the previous rpms version of mongosh shell which is 1.10.6: MongoDB Repositories.
In addition, I reinstall the following:
- mongodb-mongosh-1.10.6.x86_64.rpm
- mongodb-org-server-6.0.9-1.el8.x86_64.rpm
- mongodb-org-mongos-6.0.9-1.el8.x86_64.rpm
- mongodb-org-tools-6.0.9-1.el8.x86_64.rpm
- mongodb-org-database-tools-extra-6.0.9-1.el8.x86_64.rpm
- mongodb-org-database-6.0.9-1.el8.x86_64
- mongodb-org-6.0.9-1.el8.x86_64.rpm
PS.
I tried installing the mongodb-mongosh-2.0.0.x86_64.rpm from the same repo and got the same openssl config error.
If you are going to follow this workaround, install this first mongodb-mongosh-1.10.6.x86_64.rpm. It will override the installation of other files otherwise.
Once installed:
sudo systemctl start mongod
sudo systemctl enable mongod
- if failed:
sudo systemctl daemon-reload
- then restart again…
sudo systemctl status mongod
after that I was able to use mongo shell once again.
Hope that helps. If not, please submit your workaround.