PSMGW - HTML5 GW - Docker TLS, Implementation, SSL Certificates

PSMGW - HTML5 GW - Docker TLS, Implementation, SSL Certificates

166
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:58 PM


Symptom


When performing a new session through the PSMGW HTML5 Gateway:

Behavior:

On "Connect", Session Web window/tab opens and then closes, no indication that PSM, or Target was reached.

PSMGW Logs Show:

guacd[PID]: INFO: Certificate validation failed

guacd[PID]: ERROR: Error connecting to RDP server

 

Additional Workaround:

Starting the docker container with: IgnoreCertificateVerification=True, the session completes successfully

 

Additional Diagnoses:

Attempt an SSL connection From HTML5GW to PSM Server outside of CyberArk:

1) Get the container name:

# docker ps

2) Execute a shell with the container:

# docker exec -it <containername> /bin/bash

3)Test the connection outside of CyberArk, using your PSMSERVER ip or FQDN:

# openssl s_client -connect PSMSERVER:3389

 

The Output generated will contain the following bits of information in this scenario:

verify error:num=20:unable to get local issuer certificate

verify error:num=21:unable to verify the first certificate

 

Server certificate

-----BEGIN CERTIFICATE-----

[Certificate]

-----END CERTIFICATE-----

subject=/CN=<PSM>

issuer=/CN=<PSM>

 

The subject and issuer will match, showing that this is a Self-Signed Certificate.

 



Environment


11.4;11.5;11.6;11.7;12.0 Privileged Access Manager (PAM, self-hosted) PSM

PSMGW

HTML5GW - Docker Deployment.

Configuration:
/etc/opt/CARKpsmgw/webapp/psmgw.conf

TargetCommunicationType=TLS



Cause


RDS on the PSM Server is using a Self-Signed Certificate.

A Self Signed Certificate will not pass Validation.

 



Resolution


RDS configuration is outside of Idira Support ability, as it greatly depends on how this is configured within the Environment.

Typically, this issue revolves around the RDS Role being deployed on the PSM Server, and the ability in configuring a CA signed certificate to this role:

Example:

https://docs.microsoft.com/en-US/troubleshoot/windows-server/remote/remote-desktop-listener-certificate-configurations

 

Also note: an assigned CA signed certificate for usage on the PSM may already have been made available in the Microsoft Certificate Store. certlm.msc, However as noted in the document above; RDS has not been configured to use it.

 

Configure RDS to use a CA signed certificate as the Environment demands.

 



Actions
  • Print
  • Copy Link

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