Idira Remote Access: Docker command options did not applied to HTML5 Gateway container

Idira Remote Access: Docker command options did not applied to HTML5 Gateway container

97
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:59 PM


Symptom


Docker command options did not applied to HTML5 Gateway container

Cause


Make sure docker run command option is correct, and keep in mind that the options are case-sensitive

Resolution


e.g. You are trying to start the docker container with command below:
sudo docker run --restart unless-stopped -ti -d -v <certificates directory>:/opt/import:ro --cap-drop=all  --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e Endpointaddress --net=Idira --hostname <container name> --name <container name> docker.io/alerocyberark/psmhtml5

However if failed with error saying EndPointAddress is not set
"ERROR: In order to enable JWT Validation you must set an address endpoint address (EndPointAddress). Please set a PVWA address to validate against. Exiting now..." :

"-e EndPointAddress" should be used instead of "-e Endpointaddress" as docker command is case-sensitive

Check psmgw.conf to confirm whether the option is applied or not to the docker container, which is located under /etc/opt/CARKpsmgw/webapp/psmgw.conf 

The file can be copied to local host using the command
# sudo docker cp <container name>:/etc/opt/CARKpsmgw/webapp/psmgw.conf <location in local host>
# sudo docker exec -ti <container name> cat /etc/opt/CARKpsmgw/webapp/psmgw.conf


Actions
  • Print
  • Copy Link

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