Hi Sharon,
The key is created by the CRYPTKEY command in pagemode and the keygen command in the agent. The key that is created by those commands is what is important. I have included my steps.
How to set up AES encryption: Quick steps.
- To create the key issue the command below in ESP pagemode:
CRYPTKEY DEFINE KEYNAME(DONKEY1) KEY(X'0102030405060708091A1B1C1D1E1F01') AES
- Define the AGENT in the AGENTDEF file:
AGENT AGENTU_SFTP ADDRESS(10.130.226.51) PORT(7521) UNIX ASCII TCPIP -
PREFIXING ENCRYPT KEY(DONKEY1)
- Load the AGENTDEF file:
OPER LOADAGDF 'DSN.DSN.DSN.PARMLIB(AGENTDEF)'
- Define the key in the agent. In the agenthome directory issue the command below:
keygen 0x0102030405060708091A1B1C1D1E1F01 AES
Bounce the agent so it takes effect.
2¢
Don