HTML5 GW installation: which Certificate on the PSM server?

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

HTML5 GW installation: which Certificate on the PSM server?

L1 Bithead

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.

  1. Expand the Privileged Session Management parameters and then expand Configured PSM Servers.
  2. Expand Connection Details, and select Server; the Server Properties are displayed.
  3. In the Address property, specify the certificate common name.
  4. Click Apply to apply the new configurations,
  5. Click OK to save the new configurations and return to the System Configuration page.

In the Privileged Session Management parameters, make sure that the PSM address specifies the exact common name of the certificate."

 

 

Appreciate you help.

 

5 REPLIES 5

L2 Linker

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:

 

  • Locate the OPENSSLDIR path (default path in RHEL is "/etc/pki/tls") by running the following command

# openssl version -d

 

  • Create a symbolic link to PSM's CA .pem file in "certs" dir within OPENSSLDIR, named as the pem's hash by running the following command:

 

# 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

Thank you very much @Dinesh Jadhav​ .

 

Got through those thanks to you.

L1 Bithead

 

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.

L2 Linker

Hi JinalJ,

 

Please refer https://community.cyberark.com/s/feed/0D550000066PIZ6CAO

 

Thanks,

-Dinesh

Hi Dinesh @Dinesh Jadhav​ ,

 

After completing the steps, launching the session from PVWA gave the below error.

 

Field_Content_versions_oct20__0682J000006zOrvQAE.png

 

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.

  • Importing PSM server's certificate to HTML GW machine->converte to PEM -> Create symbolic link.
  • Previously generated HTML GW's cert.crt and keys.pem file imported to JVM keystore

 

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

  • 2163 Views
  • 5 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!