Disable the public key check for rpm installation
--nogpgcheck disable gpg signature checking
If you want to disable the GPG validation for the whole Repo, add the following line to the Repo definition in /etc/yum.conf:
If you are installing local RPMs using yum, do as Ignacio says.
For legacy RPM Linux without
rpm -i --nosignature