PTA: Windows Agent starts then immediately stops
111
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 16:07 PM
Symptom
When starting the PTA Windows Agent, the service starts, then stops
Environment
10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8 PTA Windows Agent
Cause
When reviewing the pta_agent.log in \ProgramData\CyberArk, the following message is in the log
Specifically, the message 'Certificate Signature is not supported'
The PTA Windows agent will only accept certificates that use the SHA-256 hash algorithm. SHA-1 and SHA-512 are not supported
Resolution
Generate a certificate that uses a SHA-256 hash algorithm. Also keep in mind:
* The certificate must have a unique common name, as this is input into the config.ini
If your CA creates SHA-512 certificates by default, you can edit the registry to make the default SHA-256, generate the certificate and then switch back to 512
* Navigate to \HKLM\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\<Your CA>\CSP
* Change the CNGHashAlgorithm to SHA256
* Restart the certificate authority service
There is a pending Enhancement Request to include support for SHA-512: https://community.cyberark.com/s/article/PTA-Windows-Agent-to-support-SHA-512-OQAQ