HTML5GW issue after upgrade to 14.6

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

HTML5GW issue after upgrade to 14.6

L2 Linker

Hello CyberArk Community,

after upgrading from 14.2 to 14.6, we’re experiencing an issue with the HTML5 Gateway (podman) on Rocky 8.10. After rolling back to 14.2 everything workes as inteded. Is anyone else currently experiencing the same thing? There are no certificate erros. Even with IgnorePSMCertificateErrors=no. Server is listening to 3389.

 

I use the following command:

sudo ./html5_console.sh run -ti -d -p 443:8443 -v /opt/cert/:/opt/import:ro -e AcceptCyberArkEULA=yes -e GWCert=psmgw.cer -e GWKey=psmgw.key -e GWCAFile=CENSORED-ROOT-CA.cer -e EnableFileTransfer=yes -e EnableScreenAutoResize=yes -e EnableFontSmoothing=no -e EndPointAddress=https://cyberark.censored.local/passwordvault -e ServerKeyboardLayout=de-de-qwertz --hostname html5.censored.local --name html5.censored.local cahtml5gw:14_6_0_6

Logs:

[PSMGW][2025-07-30 13:21:31.922][[https-jsse-nio-8443-exec-7]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] [POST]New connection arrived [PSMGW][2025-07-30 13:21:31.924][[https-jsse-nio-8443-exec-7]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Index.jsp is sent to client - First response is returned. [PSMGW][2025-07-30 13:21:32.129][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Entered WebSocketHandShakeFilter with JWT validation param set to: true [PSMGW][2025-07-30 13:21:32.130][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Trying to retrieve Sec-WebSocket-Protocol [PSMGW][2025-07-30 13:21:32.130][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] 2 protocols were retrieved from Sec-WebSocket-Protocol header [PSMGW][2025-07-30 13:21:32.130][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.t.CAPSMGWHTTPTunnelHandShakeFilter]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] PSM session UUID is retrieved. [PSMGW][2025-07-30 13:21:32.130][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Hostname: W22PSM1.censored.local, and Port: 3389 for validation. [PSMGW][2025-07-30 13:21:32.130][[https-jsse-nio-8443-exec-5]][INFO ][c.c.tokenvalidation.CATokenValidator]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] CATV051I Received token validation request. [PSMGW][2025-07-30 13:21:32.135][[https-jsse-nio-8443-exec-5]][INFO ][c.c.tokenvalidation.CATokenValidator]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] CATV064I Validation ended successfully, Username:user1. [PSMGW][2025-07-30 13:21:32.136][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.t.CAPSMGWWebSocketHandShakeFilter]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] JWT token was successfully validated. Username: user1 [PSMGW][2025-07-30 13:21:32.136][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Adding CSRF token to session [PSMGW][2025-07-30 13:21:32.136][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] authentication token cookie was generated. [PSMGW][2025-07-30 13:21:32.136][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.m.direct.CAPSMGWDirectServlet]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Added the authentication cookie to the response. [PSMGW][2025-07-30 13:21:32.138][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Starting new connection to guacd with UUID = b1832c5b-d673-4620-8c01-f1d554ea6d78 [PSMGW][2025-07-30 13:21:32.138][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] ClipboardControl = Bidirectional [PSMGW][2025-07-30 13:21:32.138][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Trying to connect to guacd and perform handshake. guacd[340](703): Wed Jul 30 13:21:32 2025: INFO: Creating new client for protocol "rdp@$91A17A68C5657052B41B23B0B3DB4BB2E240F147F26754687074F0EE1941BCC75BDF584469001078D76F99C77F489A4F92DDFD62B6FB4D1A2765A4823595683C" guacd[340](703): Wed Jul 30 13:21:32 2025: INFO: Connection ID is "$91A17A68C5657052B41B23B0B3DB4BB2E240F147F26754687074F0EE1941BCC75BDF584469001078D76F99C77F489A4F92DDFD62B6FB4D1A2765A4823595683C" guacd[704](708): Wed Jul 30 13:21:32 2025: INFO: Security mode: TLS [PSMGW][2025-07-30 13:21:32.268][[https-jsse-nio-8443-exec-5]][INFO ][c.c.p.modules.tunnel.CAPSMGWTunnel]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Handshake finished. guacd[704](708): Wed Jul 30 13:21:32 2025: INFO: Resize method: display-update guacd[704](708): Wed Jul 30 13:21:32 2025: INFO: No clipboard line-ending normalization specified. Defaulting to preserving the format of all line endings. guacd[704](708): Wed Jul 30 13:21:32 2025: INFO: User "@51c1878b-e6e2-4336-aac2-d2db7d36bcc5" joined connection "$91A17A68C5657052B41B23B0B3DB4BB2E240F147F26754687074F0EE1941BCC75BDF584469001078D76F99C77F489A4F92DDFD62B6FB4D1A2765A4823595683C" (1 users now present) guacd[704](712): Wed Jul 30 13:21:32 2025: INFO: Loading keymap "base" guacd[704](712): Wed Jul 30 13:21:32 2025: INFO: Loading keymap "de-de-qwertz" guacd[704](712): Wed Jul 30 13:21:34 2025: INFO: RDP server closed/refused connection: Server refused connection (wrong security type?) [PSMGW][2025-07-30 13:21:34.983][[https-jsse-nio-8443-exec-8]][INFO ][c.c.p.m.t.CAPSMGWFilteredSSLSocket]: [EBAC53EEDAE91C31C44333616A9B16695805D73B5F0BDAEB25117E3B89C5FD58] Closing socket to guacd. guacd[704](713): Wed Jul 30 13:21:47 2025: ERROR: User is not responding. guacd[704](708): Wed Jul 30 13:21:47 2025: INFO: User "@51c1878b-e6e2-4336-aac2-d2db7d36bcc5" disconnected (0 users remain) guacd[704](708): Wed Jul 30 13:21:47 2025: INFO: Last user of connection "$91A17A68C5657052B41B23B0B3DB4BB2E240F147F26754687074F0EE1941BCC75BDF584469001078D76F99C77F489A4F92DDFD62B6FB4D1A2765A4823595683C" disconnected guacd[340](703): Wed Jul 30 13:21:47 2025: INFO: Connection "$91A17A68C5657052B41B23B0B3DB4BB2E240F147F26754687074F0EE1941BCC75BDF584469001078D76F99C77F489A4F92DDFD62B6FB4D1A2765A4823595683C" removed.

Thanks for any kind of help!

 

Best Regards

Marius

1 accepted solution

Accepted Solutions

Hi,

for this issue please follow https://community.cyberark.com/s/article/KI00024667

You will need to open a case to Cyberark to ask for file legacy.so

then do

chmod 755 legacy.so

and add in your command line to create the docker

-v /exploit/scripts/legacy.so:/usr/local/lib64/ossl-modules/legacy.so:Z

to mount the file

Regards

View solution in original post

11 REPLIES 11

L5 Sessionator

Facing similar issue and already escalated to CyberArk R&D. Waiting for response already 2 weeks. Tried both container and rpm installation.

L5 Sessionator

no issues with Ubuntu so far... strange behavior

did u also try a complete new install on a fresh Rocky Server?

didn't try Rocky but that didn't work for me on Redhat but worked on Ubuntu.

L2 Linker

Same problem here working on Red Hat, created a case at CyberArk

Could you let me know as soon as there is a fix or workaround from CyberArk? I would appreciate that

L1 Bithead

same issue here with suse

L0 Member

In our case, issue was related to the fact that container could not read mapped cert directory, even though host had o+r for files and o+rx for dirs:

 

Inside the container in /opt :

 

bash-4.4# ls -altr

total 0

drwxr-xr-x. 2 root root 83 Aug 6 2024 import

drwx------. 1 tomcat tomcat 68 Jun 13 12:48 tomcat

drwxr-x---. 4 root psmgwuser 30 Jun 13 12:48 CARKpsmgw

drwxr-xr-x. 1 root root 85 Sep 3 20:24 ..

dr-xr-xr-x. 5 root root 47 Sep 3 20:24 trust

drwxr-xr-x. 1 root root 78 Sep 3 20:24 .

drwxr-xr-x. 1 root root 84 Sep 3 20:24 PSMGWDockerInstallation

bash-4.4# cd import

bash-4.4# ls -altr

ls: cannot open directory '.': Permission denied

bash-4.4#

 

Opened ticket with Cyberark, since previous version did not have this issue.

L3 Networker

Same issue here with RHEL9 and PSM HTML5GW image 14_6_0_6

Permission on /opt/import looks good.

 

One difference I see in 14_4_0_8 and 14_6_0_6 is the TLS settings set WARNING in v14.6 on the start of the container:

WARNING [main] org.apache.tomcat.util.net.SSLHostConfig.setProtocols The protocol [TLSv1.3] was added to the list of protocols on the SSLHostConfig named [_default_]. Check if a +/- prefix is missing.

 

And then I see FreeRDP failing to connect.

OpenSSL LEGACY provider failed to load, no md4 support available!

rdp_client_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]

 

And according FreeRDP it seems MS Licensing for RDS still uses some kind of MD4 or RC4-MD5 encryption which is not set on the v14.6 anymore but still in v14.4 when showing via "openssl ciphers -v"

 

https://github.com/FreeRDP/FreeRDP/discussions/10270

 

Not sure if this might be the issue

Hi,

for this issue please follow https://community.cyberark.com/s/article/KI00024667

You will need to open a case to Cyberark to ask for file legacy.so

then do

chmod 755 legacy.so

and add in your command line to create the docker

-v /exploit/scripts/legacy.so:/usr/local/lib64/ossl-modules/legacy.so:Z

to mount the file

Regards

This worked like a charm. I found the file legacy.so on my Server with the find command. So in my case there was no need to contact CyberArk.

 

Best Regards

  • 1 accepted solution
  • 1312 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!