kali linux apt-get 证书校验错误 解决

说明

https://askubuntu.com/questions/943146/apt-update-error-an-error-occurred-during-the-signature-verification-chrome

错误信息

1
2
3
4
5
6
7
8
9
root@teamserver:~# apt-get update
Get:1 http://mirror.neostrada.nl/kali kali-rolling InRelease [30.5 kB]
Err:1 http://mirror.neostrada.nl/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Fetched 30.5 kB in 1s (25.5 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirror.neostrada.nl/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
W: Some index files failed to download. They have been ignored, or old ones used instead.

Kali 证书链过期 重新下载新的证书链

解决方法

1
wget -q -O - archive.kali.org/archive-key.asc | apt-key add