HAPPY NEW YEAR 2021

For Any queries, please mail us at support@funoracleapps.com

Error: The certificate /usr/share/rhn/ULN-CA-CERT is expired on OEL

No comments

The certificate /usr/share/rhn/ULN-CA-CERT is expired.

Error:

On running yum command on Oracle Enterprise Linux 7(OEL), I was getting below error.

yum repolist
Loaded plugins: langpacks, ulninfo


The certificate /usr/share/rhn/ULN-CA-CERT is expired. Please ensure you have the correct certificate and your system time is correct.


Solution:

This is due to an expired certificate of the repository.

Manually replace the SSL certificate
To manually replace the client SSL certificate on an Oracle Linux machine, run the following steps as root on each server:


# cp /usr/share/rhn/ULN-CA-CERT /usr/share/rhn/ULN-CA-CERT.old
# wget https://linux-update.oracle.com/rpms/ULN-CA-CERT.sha2
# cp ULN-CA-CERT.sha2 /usr/share/rhn/ULN-CA-CERT


If you like please follow and comment

No comments :

Post a Comment