I came across some old Red Hat servers (ver 5) that needed updates to an application.  It being a licensed  Red Hat OS, I figured that I could just use the Yum command to update the package. This assumption was not correct and it appears the certificate that is used between this server and the Red Hat Network has expired. Error I get prior to replacing certificate: up2date_client.up2dateErrors.SSLCertificateVerifyFailedError: The certificate is expired. Please ensure you have the correct certificate and your system time is correct.  The fix was simple though as downloading a new certificate and removing the old on. First step was to rename the old certificate in case I needed to restore it for some reason. mv /usr/share/rhn/RHNS-CA-CERT RHNS-CA-CERT.old Second step is to download a new certificate.  There may be plenty of download sites for this certificate, but most forums I found reporting this same issue were pointing to the following and used wget to pull in the certificate. wget -P /usr/share/rhn http://f.cl.ly/items/1B19031O2E0m1k3E2n3u/RHNS-CA-CERT After that you will need to up update the Red Hat Network packages using this command. yum -y update rhn* |
Home‎ > ‎Server config‎ > ‎