So,
I've reinstalled the system. Now I get the error that the certificate
isnt there:
ERROR: can not find RHNS CA file:
/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT
Please verify the value of sslCACert in
/etc/sysconfig/rhn/up2date
an ls of /usr/share/rhn shows:
[admi...@cpu01362 rhn]$ ls -l
total 52
drwxr-xr-x 2 root root 4096 May 15 12:19 actions
-rw-r--r-- 1 root root 0 Dec 5 2006 __init__.py
-rw-r--r-- 1 root root 106 Dec 5 20:42 __init__.pyc
-rw-r--r-- 1 root root 106 Dec 5 20:42 __init__.pyo
-rw-r--r-- 1 root root 11381 Dec 5 2006 RHNS-CA-CERT
drwxr-xr-x 2 root root 4096 May 15 12:31 up2date_client
The File RHNS-CA-CERT is a certificate, but wen I that file and rename
it to TRDSTED-SSL-CERT, is to no avail.
Now the system complains about
"The certificate is expired. Please ensure you have the correct
certificate and your system time is correct."
So, on google, I found this site:
https://rhn.redhat.com/help/ssl_cert.pxt.
Followed the instructions there, but then I run into a GPG problem.
I downloaded the the SSL cert file, as well as the RHN signature file.
When I want to import RPM-GPG-KEY, the following error occurs:
[admi...@cpu01362 rhn]$ gpg --import /usr/share/rhn/RHN-GPG-KEY
gpg: directory `/home/adminak/.gnupg' created
gpg: new configuration file `/home/adminak/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/adminak/.gnupg/gpg.conf' are not yet
active during this run
gpg: keyring `/home/adminak/.gnupg/secring.gpg' created
gpg: keyring `/home/adminak/.gnupg/pubring.gpg' created
gpg: can't open `/usr/share/rhn/RHN-GPG-KEY': No such file or directory
gpg: Total number processed: 0
It appears that the RPM-GPG-KEY isn't there. I'm kinda lost...
cheers,
Andy
2009/5/15 Andy Kannberg <[email protected]>:
> Hi,
>
> I've installed a RedHat 5.3 server from CD. Now I want to register the
> system with 'rhn_register' .
> I then get a popup which says :
>
> The certificate is expired. Please ensure you have the correct
> certificate and your system time is correct.
>
> Where can I retrieve a new certificate ?
>
> cheers,
> Andy
>
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list