What Certificates are required to import to HTML5GW Server?

What Certificates are required to import to HTML5GW Server?

86
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:12 PM


Question


What Certificates are required to import to HTML5GW Server?
How to deploy a docker container with certificates?
 


Environment


Privileged Access Manager (PAM, self-hosted) Privileged Session Management (PSM)

Answer


The following certificates are requires to be imported in the HTML5GW server:
1. PSM Certificate
2. PVWA certificate
3. HTML5 pfx file.
If the HTML5 cerfiticate is a pfx format, export the .cer and .key file:
HTML5_Cert.pfx in an example of the certificate name.

openssl pkcs12 -in HTML5_Cert.pfx -nocerts -out HTML5_Cert.key -nodes
openssl pkcs12 -in HTML5_Cert.pfx -nokeys -out HTML5_Cert.cer

Note: If the certificate contains an intermediate certificate then include it in the path and export the pfx certificate in .pem format.

3.2. And we exported the .pem file:
openssl pkcs12 -in HTML5_Cert.pfx -out HTML5_Cert.pem -nodes

Important: Verify also if the certificates use a password protected private key.

Move the HTML5 .key, .cer, .pfx files to the /opt/cert/ directory. Along with the signing RootCA for the HTML5 certificate and signing Root CA for the PVWA/PSM certificates.

Docker Deployment:
After that, ran the following command for deployment:
docker run --restart unless-stopped -ti -p 443:8443 -v /opt/cert/:/opt/import:ro --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e GWCert=HTML5_Cert.cer -e GWKey=HTML5_Cert.key -e GWCAFile=HTML5_Cert.pem -e EndPointAddress=https://<PVWA hostname>/passwordvault --hostname <PSM gateway FQDN> --name <PSM gateway FQDN> cahtml5gw:<version_tag>

The values of the --name option and the --hostname option in this command must be identical.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001fqkCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail