Fix Nginx expired key (EXPKEYSIG ABF5BD827BD9BF62)

None of those works for me on Ubuntu 22.04. So I just followed the steps on Updating the PGP Key for NGINX Software – NGINX Community Blog
And this worked for me →
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
After that →
apt-get update

2 Likes