I have just installed mongodb 7 on my new amazon linux 2023 machine. Mongodb itself appears to be running fine, but I can't run mongosh as I get the error below. I have reinstalled everything multiple times (including openssh), but nothing helps. Any suggestions are greatly appreciated.
[ec2-user@ip-172-31-35-26 ~]$ mongosh
mongosh: OpenSSL configuration error:
00590487347F0000: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
When I install MongoDB I see this:
Installed:
cyrus-sasl-2.1.27-18.amzn2023.0.3.x86_64 cyrus-sasl-gssapi-2.1.27-18.amzn2023.0.3.x86_64 mongodb-database-tools-100.8.0-1.x86_64 mongodb-mongosh-2.0.0-1.el8.x86_64
mongodb-org-7.0.1-1.amzn2023.x86_64 mongodb-org-database-7.0.1-1.amzn2023.x86_64 mongodb-org-database-tools-extra-7.0.1-1.amzn2023.x86_64 mongodb-org-mongos-7.0.1-1.amzn2023.x86_64
mongodb-org-server-7.0.1-1.amzn2023.x86_64 mongodb-org-tools-7.0.1-1.amzn2023.x86_64 openssl-1:3.0.8-1.amzn2023.0.4.x86_64
Complete!