Environment
Novell
ZENworks 7 Linux Management - ZLM7
Situation
In
one case, the certificate from update.novell.com was being
reported as not valid:
- this could be caused if the clock in the machine is set to the wrong date (since certificates have a defined period of time when they are valid)
- or if there is some sort of firewall that is tampering with the certificate (some security firewalls do so).
ERROR:
invalid certificate received from server. (Error received when
attempting to register a ZLM agent)
Resolution
Workaround:
import the certificate directly to the database of valid
certificate authorities, by doing the following (as
root):
- cd /usr/share/curl
- openssl s_client -connect update.novell.com:443| tee logfile
- open the"logfile" file and extract the certificate, which is between the line "BEGIN CERTIFICATE" and "END CERTIFICATE" (including those lines), and save it into a file called "certfile".
- openssl x509 -inform PEM -in certfile -text -out certdata
- Backup your certificate database file (curl-ca-bundle.crt)
- cat certdata>> curl-ca-bundle.crt
- Stop and start the Zen Updater daemon (/etc/init.d/novell-zmd)