PSM - Selinux causing podman to fail import of certificates during HTML5GW launch

PSM - Selinux causing podman to fail import of certificates during HTML5GW launch

123
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:59 PM


Symptom


When attempting to launch or run a new HTML5GW container, the resulting container will keep crashing or restart itself.

 

When looking into the logs, we will see this error:

==

INFO: Adding imported certificates to the trust stores.

ls: cannot open directory '/opt/import': Permission denied

WARNING: No certificates for remote endpoints were imported. TLS communication with remote endpoints may fail.

==



Environment


13.2;14.0;14.2;14.4 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)

Linux - SElinux Enforcing Mode



Cause


Root cause is SE linux interfering with the execution.



Resolution


To workaround this issue, we can use the Z option at certificate import function.

 

Working example of full command:

==

./html5_console.sh run -ti -d -p 443:8443 -v /opt/cert:/opt/import:ro,Z -e AcceptCyberArkEULA=yes -e GWCert=psmgw.crt -e GWKey=psmgwkey.key -e GWCAFile=caroot.crt -e EndPointAddress=https://pvwa.cybrlab.home/PasswordVault --hostname psmgw.cybrlab.home --name psmgw.cybrlab.home cahtml5gw:14_4_0_8

==

 



Actions
  • Print
  • Copy Link

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