# 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.