Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

certificate error when trying to connect to local yum mirror

Jim MacDonaldMar 31 2014 — edited Apr 3 2014

I've created a local yum mirror on a host inside my network. The reposync is working correctly but when I attempt to connect to the local mirror I get the following error.

[root@localhost tmp]# yum repolist
Loaded plugins: changelog, downloadonly, presto, refresh-packagekit, rhnplugin, security, tmprepo, verify, versionlock


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

the time is synced to a local NTP server so I know that is not the issue.

I believe it's related to /etc/sysconfig/rhn/up2date

specifically the following stanzas

serverURL[comment]=Remote server URL (use FQDN)
serverURL=https://local_repo/XMLRPC

sslCACert[comment]=The CA cert used to verify the ssl server
sslCACert=/usr/share/rhn/ULN-CA-CERT

This post has been answered by Dude! on Apr 1 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 1 2014
Added on Mar 31 2014
12 comments
9,008 views