Linux 11_4 version of the agent throws the error

Document ID : KB000101600
Last Modified Date : 14/06/2018
Show Technical Document Details
Issue:
We installed the latest Linux 11.4 Agent version and received the error below when job is submitted to the agent;

cybermation.library.communications.CybConversationException: Illegal block size
Environment:
CA Workload Automation Agent 11.4
CA Workload Automation EE (ESP Edition) 11.4
Cause:
Mismatch agent's AES encryption key with the EE (ESP) scheduler.

Error in agent's transmitter log like below;
06/14/2018 13:46:44.475-0400 1 TCP/IP Controller Plugin.Transmitter pool thread <Regular:1>.CybTargetHandlerChannel.a[:628] - Error sending message to xxxxx:
Caused by: javax.crypto.IllegalBlockSizeException: The input was invalid: Invalid input length for decryption. Should be a multiple of the block size - 16.
at com.rsa.cryptoj.f.vs.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Cipher.java:2223)
at cybermation.library.security.CybAes.decryptCBC(CybAes.java:258)
Resolution:
You can use either of the following;
1. Use the Agent's keygen utility to set the encryption key and cipher on the agent, or
2. Copy the cryptkey.txt file from a Linux agent that is working with ESP scheduler to the agent's cryptkey.txt file location (default location is the agent installation directory).
Additional Information: