Question
Can Alero and the HTML5 Gateway (Docker) be installed on the same server?
Answer
The short answer is yes.
Alero requires the use of an HTML5 Gateway for sessions initiated by Alero. The HTML5 Gateway can be installed 'side-by-side' as a separate Docker container, which has the advantage of decreasing the footprint needed for a separate server. There are limitations to this as defined in
https://docs.cyberark.com/Product-Doc/OnlineHelp/Alero/Latest/en/Content/Installation/Install_PSM_HT...1. The HTML5 Gateway installed on the Alero server can ONLY be used for sessions initiated through Alero.
2. The 'side-by-side' configuration of the gateway should not be used as an internal gateway for non-Alero sessions. This is not supported, and for internal connections, a separate server for internal gateway connections should be installed.
Also note that a standalone HTML5 Gateway instance can be used for Alero initiated and non-Alero initated sessions.
Issue
Alero requires the use of an HTML5 Gateway for sessions initiated by Alero. The HTML5 Gateway can be installed 'side-by-side' as a separate Docker container, which has the advantage of decreasing the footprint needed for a separate server.
Environment
Connector Installation
Cause
Incorrect syntax in example
Resolution
The correct command is 'sudo docker run --restart unless-stopped -ti -d -p443:8443 --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e EnableJWTValidation=no -e IgnorePSMCertificateErrors=yes --net=Idira --hostname --name docker.io/alerocyberark/psmhtml5'
If using organizational certificates, you will need to add the -e options for PSMGWCert and CAChain values as well.
'sudo docker run --restart unless-stopped -ti -d -p 443:8443 -v <certificates directory>:/opt/import:ro --cap-drop=all --cap-add={CHOWN,DAC_OVERRIDE,FOWNER,SETGID,SETUID} -e AcceptCyberArkEULA=yes -e GWCert=<Gateway certificate .crt filename> -e GWKey=<Gateway private key .key filename> -e GWCAFile=<Gateway certificate signing CA .crt filename> -e EndPointAddress=<PVWA url> --name <common name> cahtml5gw:<version_tag>'