Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
72:install [2019/11/05 21:00] emr72:install [2019/12/12 12:13] – [Configure SSL] twn
Line 169: Line 169:
   * Import the SSL certificate into a keystore (see link above for more info)   * Import the SSL certificate into a keystore (see link above for more info)
   * Configure Tomcat to use this SSL certificate (see link above for more info). The relevant Tomcat config file is located in ''conf/server.xml''  and the SSL info needs to be configured for each ''<Connector>''  section. After updating the config file, run ''bin/update.sh''  or ''bin\update.bat''  to install it at the correct location.   * Configure Tomcat to use this SSL certificate (see link above for more info). The relevant Tomcat config file is located in ''conf/server.xml''  and the SSL info needs to be configured for each ''<Connector>''  section. After updating the config file, run ''bin/update.sh''  or ''bin\update.bat''  to install it at the correct location.
 +  * To enforce redirection from http to https add the following to ''conf/web-customer.xml''. This needs a Stages Version > 7.4.2.0.
 +
 +<code>
 +<security-constraint>
 +    <display-name>Enforce HTTPS</display-name>
 +    <web-resource-collection>
 +        <web-resource-name>stages-public</web-resource-name>
 +    </web-resource-collection>
 +    <user-data-constraint>
 +        <description>Force SSL for all connections.</description>
 +        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
 +    </user-data-constraint>
 +</security-constraint>
 +</code>
 +
  
 ===== Accessing Stages ===== ===== Accessing Stages =====