When running a scheduled script to a client, the following error occurs:
Remote System refused the network connection
and is recorded in the log file:
Error code -2147023671: Remote System refused the network connection
- The certificate file on the client machine has either become corrupted or been deleted.
The file is found in C:\Program Files\LANDesk\Shared Files\cbaroot\certs
The Core Server does an initial check of the certificate file to make sure that it is a client with which it can communicate. Since the hash value is correct it will start the script; however, during the full verification of the certificate, the process will fail and the connection will be refused.
- The certificates in the C:\Program Files\LANDesk\Shared Files\keys and/or C:\Program Files (x86)\LANDesk\Shared Files\keys need to be valid and not expired as well. You can double-click the .CRT and open the .0 file in notepad to verify the information. See solution for screenshots.
Copy the certificate file from the following directory on the Core Server: C:\Program Files\LANDesk\Shared Files\keys to the client's one: C:\Program Files\LANDesk\Shared Files\cbaroot\certs
The certificate file has a .0 extension.
If there are expired certificates on the core server in the C:\Program Files\LANDesk\Shared Files\keys and/or C:\Program Files (x86)\LANDesk\Shared Files\keys folder, back them up and remove the expired certificates from that folder, including any keys and .0 files associated with that cert.