PSM - Unknown disconnection reason 2311 / The certificate is not from a trusted certifying authority

PSM - Unknown disconnection reason 2311 / The certificate is not from a trusted certifying authority

151
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 13:00 PM


Symptom


After updating certificates on the PSM server for encrypted RDP traffic, connections through PSM's direct RDP feature present the following warning:
The certificate is not from a trusted certifying authority.

If you are using Remote Desktop Connection Manager, you may also get this error in the console:
Unknown disconnection reason 2311

Connections through the PVWA work as expected.

***We have also seen behavior where PVWA connections work, RDC Manager works when pointing at a specific PSM address, yet results in error 2311 when RDC Manager is pointed at a Load Balancer.


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM)
  • PSM
  • RDS


Cause


Possible Reason #1: Even though the certificates were properly imported to the PSM server, you will need to register the certificates' thumbprint in the RDS Connection Broker.

Possible Reason #2: Load Balancer does not have session based persistence turned on.


Resolution


1) Windows 2012:After importing the certificates, run the following command on the PSM server affected:
wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash="<thumbprint of new cert>"
Windows 2016+: Update Certificate in RDS Manager, form Windows Server Mangers: (Direction non-Idira Website, Use at your own discresion https://helpcenter.itopia.com/en/articles/2553903-renewing-ssl-certificates-for-rds-deployments
2) Configure the load balancer to use session based persistence.


Additional Information


Details

SYMPTOM:

 

After updating certificates on the PSM server for encrypted RDP traffic, connections through PSM's direct RDP feature present the following warning:

 

The certificate is not from a trusted certifying authority.

 

If you are using Remote Desktop Connection Manager, you may also get this error in the console

 

Unknown disconnection reason 2311

 

Connections through the PVWA work as expected.

 

PROBLEM:

 

Even though the certificates were properly imported to the PSM server, you will need to register the certificates' thumbprint in the RDS Connection Broker.

 

SOLUTION:

 

After importing the certificates, run the following command on the PSM server affected:

 

wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash="<thumbprint of new cert>"




Actions
  • Print
  • Copy Link

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