Skip Navigation

Search

MongoDB @programming.dev
ChocolateFrostedSugarBombs @lemmy.world

Can't install MongoDB on RHEL 9 due to libssl, libcrypto, and GPG issues.

Hello all,

I'm deploying an Amazon EC2 instance of RHEL and attempting to install MongoDB via yum.

Following the guide provided by MongoDB, if I place only the repo file for either mongodb 7 or 8, the install fails. If I place both repo files, it still fails.

If only 7's repo file is present, it fails with 7's GPG key.

 undefined
    
MongoDB Repository                                                                      434  B/s | 1.6 kB     00:03
Importing GPG key 0x1785BA38:
 Userid     : ""
 Fingerprint: E588 3020 1F7D D82C D808 AA84 160D 26BB 1785 BA38
 From       : https://pgp.mongodb.com/server-7.0.asc
error: Certificate 160D26BB1785BA38:
  Policy rejects 160D26BB1785BA38: No binding signature at time 2025-05-28T14:23:03Z
Key import failed (code 2). Failing package is: mongodb-database-tools-100.12.1-1.x86_64
 GPG Keys are configured as: https://pgp.mongodb.com/server-7.0.asc
Public key for mongodb-mongosh-2.5.1.x86_64.rpm is not installed. Failing package is: mongodb-mongosh-2.5.1-