You can configure SSL timeouts for ESXi by editing a configuration file on the ESXi host.
Timeout periods can be set for two types of idle connections:
- The Read Timeout setting applies to connections that have completed the SSL handshake process with port 443 of ESXi.
- The Handshake Timeout setting applies to connections that have not completed the SSL handshake process with port 443 of ESXi.
Both connection timeouts are set in milliseconds.
Idle connections are disconnected after the timeout period. By default, fully established SSL connections have a timeout of infinity.
- Log in to the ESXi Shell as a user with administrator privileges.
- Change to the directory /etc/vmware/rhttpproxy/.
- Use a text editor to open the config.xml file.
- In the
<http>...</http>section, enter the
<readTimeoutMs>value in milliseconds.If the
<readTimeoutMs>tag does not exist you can create it.
- In the
<ssl>...</ssl>section, enter the
<handshakeTimeoutMs>value in milliseconds.If the
<handshakeTimeoutMs>tag does not exist you can create it.
- Save your changes and close the file.
- Restart the
Example: Configuration File
The following section from the file /etc/vmware/rhttpproxy/config.xml shows where to add the SSL timeout settings.
<vmacore> ... <http> ... <readTimeoutMs>20000</readTimeoutMs> ... </http> ... <ssl> ... <handshakeTimeoutMs>20000</handshakeTimeoutMs> ... </ssl> </vmacore>