Mongosh not start

today i install MongoDB follow this article https://developer.fedoraproject.org/tech/database/mongodb/about.html
when i start

mongosh

in terminal

show this problem

code@fedora  ~  mongosh
mongosh: OpenSSL configuration error:
40A85B6A297F0000:error:030000A9:digital envelope routines:alg_module_init:unknown option:…/deps/openssl/openssl/crypto/evp/evp_cnf.c:61:name=rh-allow-sha1-signatures, value=yes

how to solve this problem

my openSSL version

✘ code@fedora  ~  openssl version

OpenSSL 3.2.2 4 Jun 2024 (Library: OpenSSL 3.2.2 4 Jun 2024)

sudo dnf swap mongodb-mongosh mongodb-mongosh-shared-openssl3
1 Like