Upgrade webmin fails

SYSTEM INFORMATION
OS type and version centos 7.9.2009
Webmin version 2.102

For a while I haven´t been able to upgrade webmin

It faiuls with:
Downloading packages:
warning: /var/cache/yum/x86_64/7/Webmin/packages/webmin-2.301-1.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 8916f2a2: NOKEY
Retrieving key from https://www.webmin.com/jcameron-key.asc

The GPG keys listed for the “Webmin Distribution Neutral” repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

Failing package is: webmin-2.301-1.noarch
GPG Keys are configured as: https://www.webmin.com/jcameron-key.asc

I have tried a lot of suggested solutions on this forum, but nothing helps

Any suggestions?

Upgrade your OS to a modern one, centos 7 has been end of life for a while now, in your case upgrade to rocky or alma as they are similar to centos

1 Like

Thanks for answering, although that wasn´t what I asked for.

I would like to solve this issue now - the upgrade will follow at a later stage

Try updating the repo.

curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
sh webmin-setup-repo.sh

download page as reference

then try dnf update or maybe yum update

Thanks - already done that, but tried again - same error unfortunately

This is the 8916f2a2 key—the new Webmin developers key. If you don’t have it installed, either install it or grab a package that’s still signed with Jamie’s old signature.

https://github.com/webmin/webmin/releases/download/2.301/webmin-2.301-1.noarch.rpm