Remote Desktop unexpected server authentication certificate when using PSM LB VIP
Symptom
End user receives the following error when using a PSM LB VIP to make a PSM connection:
"The connection has been terminated because an unexpected server authentication certificate was received from the remote computer. Try connecting again. If the problem continues, contact the owner of the remote computer or your network administrator."
Environment
12.6;14.0;14.2;14.5;14.6 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM
PSM Connection via PVWA and RDP
Cause
The PSM Certificate is not configured correctly with PSM FQDN as Subject and LB FQDN as SAN.
Or
The PSM VIP Load Balancer configuration is not set to use Source Affinity or Source IP Persistence.
Resolution
Solution 1:
Each PSM server should have its own PSM certificate, in the Subject name enter the PSM FQDN, and in the Subject Alternative Name (SAN) field, enter the load balancer FQDN.
This documentation for generating certificates applies for both Self-Hosted and Privilege Cloud:
This PSM Certificate should be applied to RDS as outlined in:
Solution 2:
- Confirm issue is not present when Platform is set to use to non-load balanced PSM Server ID
- Configure the Load Balancer VIP to use "Source IP/Source Address/Source Affinity" Persistence
- Point the Platform back to Load Balanced PSM Server ID and test again to confirm persistence change resolved the error.