PSM Connect fails with error message “An internal error occurred”
Symptom
Environment
11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM - IIS Installed with SSL configured.
Cause
This behavior is usually seen if PSM is configured to establish connections to a PSM server using Microsoft’s TS Gateway where the RDP traffic from a client is tunneled through SSL. As this is an https connection, Microsoft Internet Explorer needs to trust the SSL certificates used on PVWA and PSM server.
Usually, if a web browser opens an SSL protected web page where the CA root certificate in unknown or not trusted, a user will be prompted. This prompt is not shown in a “PVWA-PSM RDP Connection” session and the browser will automatically reject the page. The effect is that the “Connect” RDP Window is suddenly closed and the error message “An internal error occurred” is shown.
Resolution
Additional Information
Details
SYMPTOM:
After clicking on “Connect” in PVWA a terminal services windows to a PSM Server opens up and closes immediately. The error message “An internal error occurred” is shown in the details view of a password object in PVWA. No other information or log messages are provided.
PROBLEM:
This behavior is usually seen if PSM is configured to establish connections to a PSM server using Microsoft’s TS Gateway where the RDP traffic from a client is tunneled through SSL. As this is an https connection, Microsoft Internet Explorer needs to trust the SSL certificates used on PVWA and PSM server.
Usually, if a web browser opens an SSL protected web page where the CA root certificate in unknown or not trusted, a user will be prompted. This prompt is not shown in a “PVWA-PSM RDP Connection” session and the browser will automatically reject the page. The effect is that the “Connect” RDP Window is suddenly closed and the error message “An internal error occurred” is shown.
SOLUTION:
Configure the Microsoft Internet Information Services (IIS) on the PVWA and PSM server to make use of valid, trusted web server certificates. Also make also sure that the CA root certificates are imported on the client machines.