...
The Tomcat 6.x onwards and TomEE containers can have HTTPS activated, in addition to HTTP. To have HTTPS configuredeither use HTTP or HTTPS (not both). To switch to HTTPS:
- Set the property
GeneralPropertySet.PROTOCOL
tohttps
- Set the properties
TomcatPropertySet.CONNECTOR_KEY_STORE_FILE
andTomcatPropertySet.CONNECTOR_KEY_STORE_PASSWORD
with the relevant detailsOptionally,TomcatPropertySet.CONNECTOR_HTTPS_PORT
allows you to change the HTTPS port (default is8443
)
The property ServletPropertySet.PORT
is then used for HTTPS.