Skip to content

Instantly share code, notes, and snippets.

@reinefjord
Last active January 15, 2020 08:51
Show Gist options
  • Save reinefjord/340c3824534c8fe4dfdb9ca094cb37c4 to your computer and use it in GitHub Desktop.
Save reinefjord/340c3824534c8fe4dfdb9ca094cb37c4 to your computer and use it in GitHub Desktop.
Mongo 3.4 expired sig key
# apt update
[...]
GPG error: http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 Release:
The following signatures were invalid: EXPKEYSIG BC711F9BA15703C6 MongoDB 3.4
Release Signing Key <[email protected]>

The key has expired, but the mongo org has extended the expiry time on the same key available on their website. Download it and import to apt:

# curl -LO https://www.mongodb.org/static/pgp/server-3.4.asc
# apt-key add server-3.4.asc

or in one line:

# curl https://www.mongodb.org/static/pgp/server-3.4.asc | apt-key add -

The repo should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment