PSM HTML5 Gateway Installation Error on Install - ERROR: File 'HTML5GWDocker.crt' not found in mapped directory.

PSM HTML5 Gateway Installation Error on Install - ERROR: File 'HTML5GWDocker.crt' not found in mapped directory.

129
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:50 PM


Symptom


When running the 'docker restart' command to launch a new docker container for HTML5, the user sees:

INFO: Running container.

ERROR: File 'HTML5GWDocker.crt' not found in mapped directory.

Please specify the PSM Gateway certificate filename using the '-e GWCert' argument.

For example: -e GWCert=psmgw.crt



Environment


11.3;11.4;11.5;11.6 PSM Other

Cause


Incorrect directory



Resolution


The certificate, CA chain and private key must be in the /opt/cert/ directory and specified as such on the command line. Example


docker run --restart unless-stopped -ti -d -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=HTML5GWDocker.crt -e GWKey=HTML5GWDocker_Key_Decrypted.key -e GWCAFile=cachain.crt --name <FQDN> cahtml5gw:11_3_0_236


Also note that the cachain.crt must include all certificates in the chain and must be in Base-64 format



Actions
  • Print
  • Copy Link

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