PSM Connect fails with error message “An internal error occurred”

PSM Connect fails with error message “An internal error occurred”

167
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:59 PM


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.


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


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.


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.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001NHACA2&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail