HTML5 gateway PSMGW0001E error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

HTML5 gateway PSMGW0001E error

L4 Transporter

Hello, CyberArk community!

 

I have installed the HTML5 gateway on my RHEL 9 linux machine using the container manager:

https://docs.cyberark.com/pam-self-hosted/latest/en/content/pas%20inst/install_psm_html5_docker.htm?tocpath=Installer%7CInstall%20PAM%20-%20Self-Hosted%7CInstall%20PSM%7CAdvanced%20PSM%20Implementations%7CInstall%20PSM%20HTML5%20Gateway%7C_____1

 

This deployment is in my test environment, that's why I didn't perform (skipped) all parts that involve certificates. My current podman containers are:

Field_Content_versions_oct20__068Ht00000WtKs4IAF.pngSo the html5gw is the container that is being used. I updated the /etc/opt/CARKpsmgw/webapp/psmgw.conf file by changing "TargetCommunicationType" to "RDP" and uncommented and changed "IgnoreCertificateVerification" to "true". Then I restarted the container using "./html5_console.sh restart html5gw":

Field_Content_versions_oct20__068Ht00000WtKsaIAF.png 

In my PVWA -> Administration -> options I have set everything as mentioned in the documentation: https://docs.cyberark.com/pam-self-hosted/latest/en/content/pasimp/psm_html5.htm

 

Field_Content_versions_oct20__068Ht00000WtKsfIAF.pngField_Content_versions_oct20__068Ht00000WtKspIAF.png 

So, in the PrivilegedSessionManagementUI I changed the DefaultConnectionMethod to HTML5 in order to test if it's working, and when I tried to connect to a target in the new browser tab I got the following:

Field_Content_versions_oct20__068Ht00000WtKsNIAV.png 

Can someone please help, how can I fix this? I would be happy to provide any additional information for the troubleshooting, just let me know.

 

11 REPLIES 11

L7 Applicator

Hi @Almaz Akhmadullin​ 

 

Can you please confirm when you built the HTML5 GW, did you mention ‘IgnorePSMCertificateErrors’ set

to yes ?

 

 

 

Hello, @Malhar Vora​ , thanks for the reply!

 

No, I didn't set this value at all, maybe that's what's causing the issue, let me re-create the container and I'll let you know if it solved the issue.

So, @Malhar Vora​ ,

 

I purged the old container, created the new one with the option that you told me to run with. Updated the psmgw.conf file by copy pasting the file with updated values into the container. Then I restarted that container:

Field_Content_versions_oct20__068Ht00000WtL54IAF.png 

After all that, I tried to connect and I still have the same issue:

Field_Content_versions_oct20__068Ht00000WtL5EIAV.png

L3 Networker

Hi,

 

After you installed html5gw with docker deployment, you need to check certification between html5 and psm.

 

Did you import psm certificate on html5 ?

 

example: sudo keytool -import -alias webapp_guacd_cert3 -keystore /usr/lib/jvm/java-21-openjdk-amd64//lib/security/cacerts -trustcacerts -file /opt/cert/xx.cer

 

If you have root and subordinate certificate, you need to add all of them.

 

After this, you need to follow this link to import certificate for RDS role.

 

https://community.cyberark.com/s/article/Import-certificate-for-RDS

 

We runned successfully like that.

 

Regards.

 

 

L3 Networker

Hi,

 

After you installed html5gw with docker deployment, you need to check certification between html5 and psm.

 

Did you import psm certificate on html5 ?

 

example: sudo keytool -import -alias webapp_guacd_cert3 -keystore /usr/lib/jvm/java-21-openjdk-amd64//lib/security/cacerts -trustcacerts -file /opt/cert/xx.cer

 

If you have root and subordinate certificate, you need to add all of them.

 

After this, you need to follow this link to import certificate for RDS role.

 

https://community.cyberark.com/s/article/Import-certificate-for-RDS

 

We runned successfully like that.

 

Regards.

 

 

Hello @Sevki Sahin​ ,

 

Thanks for the reply!

 

As I mentioned in the post, I am deploying html5 in my test environment and I didn't deal with any certificates at any steps. Actually, all my connections between all CyberArk components are insecure, because security is not important.

 

In one of my previous posts Malhar replied to my question if it's possible to make a deployment and configure the html5 gateway without having to import the PSM and PVWA certificates, and I got the asnwer "yes" by setting the:

TargetCommunicationType=RDP

IgnoreCertificateVerification=True

 

 

So, shortly no, I don't have any certificates in any of my CyberArk components.

 

L3 Networker

Hi,

 

I think this certificate step is required as mentioned below link.

 

https://docs.cyberark.com/pam-self-hosted/12.6/en/content/pas%20inst/install_psm_html5_docker.htm

 

What did you see below command result after you connect? xxx.domain.local (change container name)

 

docker logs xxx.domain.local

 

L3 Networker

Hi,

 

I think this certificate step is required as mentioned below link.

 

https://docs.cyberark.com/pam-self-hosted/12.6/en/content/pas%20inst/install_psm_html5_docker.htm

 

What did you see below command result after you connect? xxx.domain.local (change container name)

 

docker logs xxx.domain.local

 

L7 Applicator

Hi @Almaz Akhmadullin​ 

 

Can you please enable the debug and share the detailed error message from the log ?

 

https://community.cyberark.com/s/article/How-to-turn-on-debugging-for-HTML5-Gateway

L4 Transporter

Hi @Almaz Akhmadullin​ 

 

It seems that the community is asking questions to understand your question better, but we haven't seen a response yet.

If you've already received an answer, we'd appreciate it if you could share the solution to help other community members with similar questions. If not, we encourage you to answer the questions that have been asked so that the community can assist you.

 

Thank you for your attention, Liad

Hi @Liad Domb​ ,

 

As I mentioned in one of my previous posts related to the issue with HTML5, this problem is no longer relevant for me and the virtual machine hosting that service is not available for me at the moment. I might come back to this question when I need it. That is why I haven't provided replies to those suggestions. I do appreciate the help from community and I will get back to this post when I get my hands on HTML5 again.

  • 1262 Views
  • 11 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!