If you server configuration includes Apache 2 as the internet facing application use the following configuration to forward SSL to BridgeGate
The apache config file on Linux is usually located in
/etc/apache2/sites-available/000-default.conf
<VirtualHost *:443>
ServerName yourdomain
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /bridgegate/certificates/yourdomain.crt
SSLCertificateKeyFile /bridgegate/certificates/yourdomaint.key
SSLCertificateChainFile /bridgegate/certificates/yourdomain_certificateAuthorityRoot.crt
ProxyRequests Off # Important: disable forward proxy mode
ProxyPreserveHost On # Passes original Host: header to backend (often needed)
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
RequestHeader set X-Forwarded-Proto “https” env=HTTPS
RequestHeader set X-Forwarded-Proto “https”
</VirtualHost>