nginx repo key expired [debian]
nginx repo key expired [debian]
When we make "apt-get update" we can get error like this:
Command to see what exactly expired:
Output:
Update what's expired:
Code: Select all
W: A error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: http://nginx.org wheezy Release: The following signatures were invalid: KEYEXPIRED 1471427554
W: Failed to fetch http://nginx.org/packages/debian/dists/wheezy/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
Code: Select all
apt-key list | grep "expired:"
Code: Select all
pub 2048R/7BD9BF62 2011-08-19 [expired: 2016-08-17]
Code: Select all
apt-key adv --recv-keys --keyserver keys.gnupg.net 7BD9BF62
Re: nginx repo key expired [debian]
If you receive:
Just disable CSF (csf -x) then try again, and re-enable CSF (csf -e)gpg: requesting key 7BD9BF62 from hkp server keys.gnupg.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error