The following sections provide solutions to the problems you might encounter while using the SSL Management feature.
Certificate update fails on ZENworks 11 SP2 and earlier versions of the agent
A Windows agent is not able to launch the CertificateActivator executable
Managed device that was re-imaged during remint is not communicating with the Primary Server
The activator for a failed certificate activation will only be triggered after an agent refresh
The Certificate Updater Tool is not created on Primary Servers
After a Server Remint the managed device is not able to communicate with the server
The Agent Version is not getting displayed in the ZENworks Server SSL Certificates panel
Certificate update fails on ZENworks 11 SP2 and earlier versions of the agent
Unexpected error occurred during system update Type: System.ArgumentException Message: Requested value '(INFO) (10/01/2018 01:37:59.781) (1168) (ZENUpdater) () (SYSTEM) (SystemUpdate) (FINISHED) (FINISHED) () () () (ZENworks)' was not found. Stack Trace: at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at Novell.Zenworks.SystemUpdate.UpdateStatusReader.parseStatusMessage(String statusString, UpdateStatus& status, StatusMessage& message, String& messageDetails) at Novell.Zenworks.SystemUpdate.UpdateStatusReader.readLastStatus(FileInfo updateStatusFile, String updateID, UpdateStatus& status, StatusMessage& message, String& details) at Novell.Zenworks.SystemUpdate.SystemUpdateModule.ApplyUpdate(AssignedSystemUpdatesResponseAssignedSystemUpdate update)
NOTE:Depending on the database, you can use any of the following query to list agents on which the system update has failed and then verify the system update logs on these devices for the exception mentioned above:
On Sybase select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = 0x<update_guid> and s.deviceuid = d.zuid
Where <update_guid> is the system update GUID.
Example: select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = 0x5017040000fc50000000002018111501 and s.deviceuid = d.zuid
On PostgreSQL select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = '\x<update_guid>' and s.deviceuid = d.zuid
Where <update_guid> is the system update GUID.
Example: select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = '\x5017040000fc50000000002018111501' and s.deviceuid = d.zuid
On Microsoft SQL select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = 0x<update_guid> and s.deviceuid = d.zuid
Where <update_guid> is the system update GUID.
Example: select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = 0x5017040000FC50000000002018111501 and s.deviceuid = d.zuid
On Oracle select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = '<update_guid>' and s.deviceuid = d.zuid
Where <update_guid> is the system update GUID.
Example: select d.hostname, d.zuid, d.agentversion, s.updatestatus from zsystemupdatedeviceinfo s, zdevice d where s.updatestatus = 'ERROR' and s.updateuid = '5017040000FC50000000002018111501' and s.deviceuid = d.zuid
A Windows agent is not able to launch the CertificateActivator executable
When the Certificate Updater Tool is downloaded, the update packages are treated as malicious software
Manually add System_drive:\windows\novell\zenworks to the exclusion list of the anti-virus software installed on the managed device.
Download the Certificate Updater Tool.
Managed device that was re-imaged during remint is not communicating with the Primary Server
NOTE:If the update is baselined before it is applied on all the devices, you can still use the Certificate Updater Tool to run the system update on the pending devices, provided the tool is downloaded before baselining the update.
The activator for a failed certificate activation will only be triggered after an agent refresh
The Certificate Updater Tool fails on a device when the Primary Server to which it is registered, has a certificate chain
The Certificate Updater Tool is not created on Primary Servers
During a CA Remint, the CRT will be available on the current CA server.
During a Change CA to Internal, the CRT will be available on the new CA server.
During a Change CA to external, the CRT will be available on the server on which the remint is initiated.
During a Server Remint, if the current CA is internal, the CRT will be available on the current CA server. If the current CA is external, it will be available on the server on which the remint is initiated.
After a Server Remint the managed device is not able to communicate with the server
To Unregister the device: zac unr
To register the device: zac reg https://<server_IP>:<port>
Certificate Updater Tool fails on the CA Server
On Windows: Launch ZENworks_home\install\downloads\system-update\certificate-update\ZENworks_Certificate_Update_Windows.exe with -p ZENworks_home\conf\securit\ca.cert
On Linux: Launch /opt/novell/zenworks/install/downloads/system-update/certificate-update/ZENworks_Certificate_Update_Linux.bin with -p /etc/opt/novell/zenworks/security/ca.cert
The Agent Version is not getting displayed in the ZENworks Server SSL Certificates panel
After a remint, security policy versions are incremented
A server certificate has expired
If the internal server certificate of your Windows or Linux Primary Server has expired you can choose to replace the certificate with a new internal server certificate.
Before replacing an internal server certificate with a new internal server certificate, take a reliable backup of the following on all Primary Servers in the Management Zone:
Content-Repo Directory: The content-repo directory is located by default in the ZENworks_installation_directory\work directory on Windows and in the /var/opt/novell/zenworks/ on Linux.
Ensure that the images directory located within the content-repo directory has been successfully backed up.
Certificate Authority: For detailed information on how to back up the certificate authority, see Backing Up the Certificate Authority.
Embedded Database: For detailed information on how to back up the embedded database, see Backing Up a ZENworks Server.
Enforce the new certificates on the zone by running the following command on any Primary Server whose certificate has expired:
novell-zenworks-configure -c SSL -Z
Follow the prompts. Do not remint the Certificate authority, just the server certificate.
NOTE:If both the Server Certificate and Certificate Authority (CA) have expired, then use the Remint CA option in the ZCC UI to remint the CA, which will remint the expired server certificate as well.
Restart all the ZENworks services on all the Primary Servers in the zone by running the following command at the console prompt of each Primary Server in the zone:
novell-zenworks-configure -c Start
By default, all the services are selected. You must select Restart as the Action.
Refresh all the devices, including the Primary Servers, in the zone.
If only one Primary Server certificate was changed, and if the CA certificate was not changed, and there is more than one Primary Server in the zone, refreshing the Server, Satellites, and managed devices will allow the agent to trust the new server certificate. Refreshes automatically on the next scheduled refresh.
If there is only one Primary Server in the zone then the Primary Servers, Satellites, and managed devices need to run zac retr to reestablish the trust.
If any device is not reachable during the refresh, you must first establish a connection with the device, then run the following command at the console prompt of each device to reestablish the trust between the device and the zone:
zac retr -u zone_administrator_username -p zone_administrator_password
Configure the Authentication Satellites with the new certificates by entering the following command at the Satellite's prompt:
On Windows: zac authentication server reconfigure (asr) -t all
On Linux: zac remint-satellite-cert (rsc)
Re-create all the default and custom deployment packages for all the Primary Servers:
Default Deployment Packages: At the console prompt of each Primary Server in the zone, enter the novell-zenworks-configure -c CreateExtractorPacks -Z command:
Custom Deployment Packages: At the console prompt of each Primary Server in the zone, enter the novell-zenworks-configure -c RebuildCustomPacks -Z command
If the external server certificate of your Windows or Linux Primary Server has expired you can choose to replace the certificate with a new external server certificate issued by your current zone CA.
Before replacing an external server certificate with a new external server certificate, take a reliable backup of the following on all Primary Servers in the Management Zone:
Content-Repo Directory: The content-repo directory is located by default in the ZENworks_installation_directory\work directory on Windows and in the /var/opt/novell/zenworks/ on Linux.
Ensure that the images directory located within the content-repo directory has been successfully backed up.
Embedded Database: For detailed information on how to back up the embedded database, see Backing Up the Embedded Sybase SQL Anywhere Database.
Create a certificate signing request (CSR) by providing the hostname (FQDN) of the Primary Server as the subject. Using this CSR, get the new server certificate issued by the external CA.
For more information on how to create a CSR, see Creating an External Certificate
in the ZENworks Server Installation Guide.
Delete the record of the server whose certificate is being renewed, from the zCertificate table in the database by using the query “delete from zCertificate where SubjectUID = <GUID of the Primary Server whose cert has to be renewed”.
At the console prompt of a Primary Server, run the following command with the force ( -f, --force) option.
zman sacert -f Path_of_the_Primary_Server_in_ZENworks_Control_Center Path_of_Primary_Server_Certificate
For more information about zman, view the zman man page (man zman) on the device or see zman(1)
in the ZENworks Command Line Utilities Reference.
This adds the certificate of the Primary Server that you specified in the command to the ZENworks database and certificate store.
NOTE:You must run the command for each server whose certificate you want to replace.
Refresh all the devices, including the Primary Servers, in the zone.
The Primary Server certificates that were imported in Step 4 are sent to the devices as configuration data.
Enforce the new certificates on the zone by running the following command on any Primary Server whose certificate has expired:
novell-zenworks-configure -c SSL -Z
Follow the prompts.
Restart all the ZENworks services on the current Primary Server in the zone by running the following command at the console prompt of the Primary Server:
novell-zenworks-configure -c Start
By default, all the services are selected. You must select Restart as the Action.
Refresh all the devices, including the Primary Servers, in the zone.
If any device is not reachable during the refresh, you must first establish a connection with the device, then run the following command at the console prompt of each device to reestablish the trust between the device and the zone:
zac retr -u zone_administrator_username -p zone_administrator_password
Configure the Satellites with the new external certificates by entering the following command at the Satellite's prompt:
zac iac -pk private-key.der -c signed-server_certificate.der -ca signing-authority-public-certificate.der -ks keystore.jks -ksp keystore-pass-phrase -a signed-cert-alias -ks signed-cert-passphrase -u username -p password -rc
Re-create all the default and custom deployment packages for all the Primary Servers:
Default Deployment Packages: At the console prompt of each Primary Server in the zone, enter the following command:
novell-zenworks-configure -c CreateExtractorPacks -Z
Custom Deployment Packages: At the console prompt of each Primary Server in the zone, enter the following command:
novell-zenworks-configure -c RebuildCustomPacks -Z