After adding a second Policy Server 2 (PS#2) that is pointing to the same Policy and Key Store of Policy Server 1 (PS#1) to the HCO, the below errors in the Policy Server smtracedefault.log start to show up:
... [CServer.cpp:2132][][][][][][][][][][][][][][][][][][][][][]
[LogMessage:ERROR:[sm-Tunnel-00050] Handshake error: Shared secret incorrect for this client]
[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
... [CServer.cpp:2078][GetSecretFunc][][][][][][][][][][][][][][][][][][][][]
[Error while fetching previous secret for the Agent abc][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]
Siteminder 12.8 SP1 on Windows 2012 R2
The encryption is not the same on both Policy Servers. Comparing the content of the EncryptionKey.txt on both Policy Server shows that they aren't the same.
EncryptionKey.txt from the below directory from Policy Server, and rename the EncryptionKey.txt to EncryptionKey.txt_backup.<Policy_server_install_path>)/binEncryptionKey.txt from the directory from policy server 1 (PS#1) to Policy Server 2 (PS#2).Note:
This solution is only valid for Policy Servers on Windows platforms. For Policy Servers on Linux platforms, please follow the instructions in the documentation to rest the encryption key (1).