Connection to PSM fails due to Security Layer configuration
Symptom
PSM connections are failing immediately, with the error “The connection cannot proceed because authentication is not enabled and the remote computer requires that authentication can be enabled to connect”
Environment
14.0;14.2 Privileged Access Manager (PAM, self-hosted) PSM PSM Networking & Connectivity
Cause
The policy setting "Require use of specific security layer for remote (RDP) connections" is not set to the correct value for the configuration. The value is set by GPO, local configuration, or an entry in the registry.
Resolution
The policy "Require use of specific security layer for remote (RDP) connections" must be modified.
If modifying via Group Policy, it can be found at: Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Security
- If RDP connections are not secured with SSL, the Security Layer would be set to one of these values:
- Negotiate
- RDP
- If the RDP connections are secured with SSL, the Security Layer would be set to one of these values, depending on the OS version:
- Windows Server 2019: TLS
- Windows Server 2016: SSL
- Windows Server 2012 R2: SSL (TLS 1.0)
If modifying via the Registry, it can also be found under SecurityLayer in one or both locations:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services
- If RDP connections are not secured with SSL, the SecurityLayer entry would be set to either "1" (Negotiate) or "0" (RDP)
- If RDP connections are secured with SSL, the SecurityLayer entry would be set to "2" (SSL)
Instructions on Securing RDP Connections with SSL on the PSM can be found in the Idira documentation, on this page: https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASIMP/Securing-RDP-Connections-with-SSL.htm