EXPKEYSIG debian ubuntu

Fix EXPKEYSIG ABF5BD827BD9BF62

nginx signing key <signing-key@nginx.com> — by NGINX

Error message
EXPKEYSIG ABF5BD827BD9BF62 nginx signing key <signing-key@nginx.com>

Fix commands for openSUSE

Method 1 Import key from URL

Imports the key via rpm and refreshes zypper repositories.

openSUSE — bash
$ sudo rpm --import https://nginx.org/keys/nginx_signing.key
$ sudo zypper refresh

Method 2 Import via GnuPG

Fetches the key from a public keyserver and imports it into the RPM trust store.

openSUSE — bash
$ gpg --keyserver hkps://keys.openpgp.org --recv-keys ABF5BD827BD9BF62
$ gpg --export --armor ABF5BD827BD9BF62 | sudo rpm --import -
$ sudo zypper refresh

After importing the key

Run sudo apt-get update (or your distro's equivalent) again. If successful you should see Hit: lines with no EXPKEYSIG warnings. Still broken? Check that your /etc/apt/sources.list.d/ entry references the correct [signed-by=…] keyring path.