THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- uniqueName A name that is different than the name for any other web connectors in the server (no spaces in the name please).
- host The host name or IP to bind to. The normal values are 0.0.0.0 (all interfaces) or localhost (local connections only)
- keystoreFile The file that holds the keystore (relative to the Geronimo install dir)
- port The TCP port number on which this Connector will create a server socket and await incoming connections. Your operating system will allow only one server application to listen to a particular port number on a particular IP address.
For a Tomcat APR HTTPS Connector
Starting from v2.2, Geronimo uses server.xml
to configure Tomcat. You need to update server.xml
to use HTTPS Connector with APR enabled. Use the following code snippet as an example.
Code Block |
---|
<Connector name="TomcatWebSSLConnector"
port="${HTTPSPort + PortOffset}"
host="${ServerHostname}"
SSLEnabled="true"
maxThreads="150"
scheme="https"
secure="true"
clientAuth="false"
SSLCertificateFile="/usr/local/ssl/server.crt"
SSLCertificateKeyFile="/usr/local/ssl/server.pem"
sslProtocol="TLS"
executor="DefaultThreadPool"/>
|
Refer to Tomcat SSL Support for more information about other attributes.