Mongo 4.0 Apt key for Ubuntu 16 is expired

apt update is showing the key for mongodb-org 4.0 in xenial is expired and the server has not published a new key. I don’t see an issue for this in JIRA.

Get:8 xenial/mongodb-org/4.0 Release.gpg [801 B]
Err:8 xenial/mongodb-org/4.0 Release.gpg
  The following signatures were invalid: KEYEXPIRED 1681763820

Attempting to re-import a new key shows the server has not yet published a new key

user@host:/var/snap/amazon-ssm-agent/6312$ sudo apt-key adv --keyserver --recv-keys E52529D4
Executing: /tmp/tmp.kQ87jVKCKE/ --keyserver
gpg: requesting key E52529D4 from hkp server
gpg: key E52529D4: "MongoDB 4.0 Release Signing Key <>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

The support matrix shows MongoDB 4.0 is still supported on Ubuntu 16, is there an ETA for publishing new keys?

1 Like

Dear all,

I have the same error in Ubuntu 22.04

It’s possible update the key.

Can you help me, please??


1 Like

Hi there, I would like to know if the GPG key will be refreshed anytime soon as we’re still using the 4.0 repository on some of our Ubuntu 18.04 installations.

Thank you for your answers !

1 Like

Any update on this issue ?

Is anyone even working on that?

Same answer as: Mongo db 4.0 GPG key expired for ubuntu 18.04 - #2 by chris