Kali linux apt-get update 报错

今天进行apt-get install时发现不能下载软件,并在执行apt-get update更新国内源出现如下错误:
W: Failed to fetchhttp://http.kali.org/kali/dists/kali-rolling/InRelease  The following signatures were invalid:EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository
百度一下发现是证书过期了,按照之前几个方法安装证书出现错误,最后按照下面方法安装新的证书才解决了问题:

安装证书:
wget https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2018.1_all.deb
apt install ./kali-archive-keyring_2018.1_all.deb
安装完证书后再执行apt-get update和apt-get upgrade即可

你可能感兴趣的:(kali,kali)