> > When trying to register to RHN it fails and i found this in
> > the up2date log :
> > OpenSSL.SSL.Error: [('PEM routines', 'PEM_read_bio', 'bad end
line'),
> > ('x509 certificate routines', 'X509_load_cert_crl_file', 'PEM lib')]
> >
> > Any idea ?
> Not sure what causes this, but is the system time correct? Or remove
> rhn-setup rpm and install again from your install media (watch for
> dependencies).
> 

Yes, I can confirm that. If the system time is incorrect then
registration will fail miserable. You need to add a timesync to your
kickstart file that does this for you eg:

%post --nochroot
echo "starting time sync"
date
/mnt/sysimage/usr/sbin/ntpdate -b ntp.yourtimeserver.com
/mnt/sysimage/sbin/hwclock --systohc
date
echo "time sync complete"

Regards

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to