- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-11-2019 11:18 PM
Hi All,
Im installing HTML5 GW in a Virtual box setup with HTML5 GW on RHEL6.6 & CyberArk installed in POC mode on 2 servers (Vault & CPM+PVWA+PSM).
In the HTML5 GW installation guide > RDP connections to the PSM machine with SSL Doc step 5 below,
1) what is the certificate referring to? Is it
a) Self-signed certificate generate in previous steps in the linux GW server
b) Self-signed certificate on the PSM server.
2) Where can I find these certificates & .pem files on PSM server & how to find their common name?
"5.Connections to the PSM require a certificate on the PSM machine. By default, Windows generates a self-signed certificate, but you can use a certificate that is supplied by your enterprise.
In the Privileged Session Management parameters, make sure that the PSM address specifies the exact common name of the certificate."
Appreciate you help.
08-12-2019 10:43 AM
Hi JinalJ,
The PSM server certificate could be self-signed or CA-signed for server authentication.
On PSM server, you can find it thru mmc.exe => Add\Remove Snapins => Certificates => Personal Certificates.
· Export the PSM server’s SSL cert in X509 DER format and copy it into HTML5GW Linux server’s /tmp location (to convert into .PEM format)
On HTML5GW server:
· Convert DER certificate into PEM file and place it into /opt/secrets folder.
# openssl x509 -inform DER -in /tmp/dev_psm1_ssl.cer -out /opt/secrets/dev_psm1_ssl.pem
· Change the ownership to "psmgwuser" for PSM server’s PEM file.
· Add PSM's CA certificate to trusted certificates:
# openssl version -d
# ln -s <ca.pem path> <OPENSSL dir>/certs/`openssl x509 -noout -hash -in <ca.pem path>`.0
# ln -s /opt/secrets/dev_psm1_ssl.pem /etc/pki/tls/certs/`openssl x509 -noout -hash -in /opt/secrets/dev_psm1_ssl.pem`.0
While creating or requesting SSL cert, you have to specify common name. Generally you will find CN into Subject field of certificate (which is mostly FQDN)
Thanks,
-Dinesh
08-19-2019 03:26 AM
Thank you very much @Dinesh Jadhav .
Got through those thanks to you.
08-19-2019 03:27 AM
After completing the installation & clicking the connect button from to a target from PVWA, a new tab opens with https://psm/PasswordVault/v10/guac/direct .
After the typical CyberArk loading animation, a white/blank screen comes.
Any idea what might cause this.
The below are the logs
1) cyberark-psm-gateway-webapp.log,
[root@rhelGW webapp]# cat cyberark-psm-gateway-webapp.log
[PSMGW][01:08:27.540][[main]][INFO ][c.c.p.CAPSMGWServletContextListener]: CyberArk Webapp Version: 10.6.0
[PSMGW][01:08:27.832][[main]][INFO ][c.c.p.m.direct.CAPSMGWDirectModule]: CyberArk Direct Module was loaded.
[PSMGW][01:08:27.851][[main]][INFO ][c.c.p.m.t.w.CAPSMGWWebSocketTunnelModule]: Loading JSR-356 WebSocket support...
[PSMGW][01:08:27.926][[main]][INFO ][c.c.p.modules.root.CAPSMGWRootModule]: CyberArk Root Module was loaded.
[PSMGW][01:47:48.151][[main]][INFO ][c.c.p.CAPSMGWServletContextListener]: CyberArk Webapp Version: 10.6.0
[PSMGW][01:47:48.488][[main]][INFO ][c.c.p.m.direct.CAPSMGWDirectModule]: CyberArk Direct Module was loaded.
[PSMGW][01:47:48.506][[main]][INFO ][c.c.p.m.t.w.CAPSMGWWebSocketTunnelModule]: Loading JSR-356 WebSocket support...
[PSMGW][01:47:48.564][[main]][INFO ][c.c.p.modules.root.CAPSMGWRootModule]: CyberArk Root Module was loaded.
[PSMGW][02:47:54.654][[main]][INFO ][c.c.p.CAPSMGWServletContextListener]: CyberArk Webapp Version: 10.6.0
[PSMGW][02:47:54.907][[main]][INFO ][c.c.p.m.direct.CAPSMGWDirectModule]: CyberArk Direct Module was loaded.
[PSMGW][02:47:54.928][[main]][INFO ][c.c.p.m.t.w.CAPSMGWWebSocketTunnelModule]: Loading JSR-356 WebSocket support...
[PSMGW][02:47:54.987][[main]][INFO ][c.c.p.modules.root.CAPSMGWRootModule]: CyberArk Root Module was loaded.
Thanks for help.
08-20-2019 09:36 AM
Hi JinalJ,
Please refer https://community.cyberark.com/s/feed/0D550000066PIZ6CAO
Thanks,
-Dinesh
08-29-2019 09:27 PM
Hi Dinesh @Dinesh Jadhav ,
After completing the steps, launching the session from PVWA gave the below error.
This is the first & last names provided at the initial certificate creation stage in HTML GW server as below.
keytool -genkey -alias <keystore name> -keyalg RSA -keystore <output keystore> -ext san=dns:<PSM gateway FQDN>However I did not use the " -ext san=dns: " as my rhel GW is not on a dns or domain.
I did the above steps you mentioned.
Is there anything else I have to do?
I also tried importing psm certificate to client(windows server 16)'s Trusted Root Certification Authority. But the above error appears.
Please help.
Thanks
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!

