- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
11-20-2024 12:05 AM
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:
So 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":
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
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:
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-20-2024 03:06 AM
Hi @Almaz Akhmadullin
Can you please confirm when you built the HTML5 GW, did you mention ‘IgnorePSMCertificateErrors’ set
to yes ?
11-20-2024 03:11 AM
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.
11-20-2024 03:20 AM
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:
After all that, I tried to connect and I still have the same issue:
11-20-2024 11:38 PM
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.
11-20-2024 11:38 PM
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.
11-20-2024 11:43 PM
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.
11-21-2024 12:01 AM
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
11-21-2024 12:01 AM
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
11-21-2024 02:39 AM
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
11-28-2024 05:55 AM
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
11-28-2024 08:18 PM
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.
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!

