EPM - Agent installed on older Windows OS is unable to connect to console
Symptom
Last Policy update is shown as never for the newly installed EPM Agent on Windows Server 2012 and Windows Server 2008 R2.
Proxy is not configured and internet connection is shown to be working fine.
As comparison with the newer versions of Windows OS (E.g. Windows Server 2016), the latter version is able to update policies as per normal and shows up in the EPM Console.
Environment
11.5;11.6;11.7;12.0;20.7;21.1;21.2;21.3;21.4;21.5;12.1;21.6;21.7;21.8;21.9;12.2;11.9;11.8;21.10;21.11;21.12;12.4;12.3
- Windows Server 2012
- Windows Server 2008 R2
- Lower versions of Windows OS
Cause
TLS 1.2 is generally not enabled on the older version of Windows Server, which the EPM endpoints require TLS 1.2 to communicate with the EPM Console.
If using older version of Windows OS, it is required to enable TLS 1.2.
Resolution
In Powershell, the user can run the following command to force TLS 1.2, afterwards, the user should be able to communicate to EPM Console URL via Powershell.
Force TLS 1.2 command (in Powershell):
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Communicate to website (Try this before and after the "Force TLS 1.2 command"):
invoke-webrequest https://login.epm.cyberark.com/VFAGT/VfAgent.asmx -DisableKeepAlive -UseBasicParsing -Method head
If the above is proven to be working after running the "Force TLS 1.2 command", the main cause of issue is due to missing TLS 1.2.
Hence, you can check the CyberArk document for more information regarding the prerequisites:
docs.cyberark.com/Product-Doc/OnlineHelp/EPM/Latest/en/Content/Installation/Windows-SystemRequirements.htm
Alternatively, you can follow and use the methods in this KB to enable TLS 1.2: https://cyberark-customers.force.com/s/article/00004967