Connections to the Web services port are handled by a reverse-proxy service. The reverse-proxy service handles requests to the API (through the /sdk path) and to the Managed Object Browser (through the /mob path). The reverse-proxy service has a configuration file that can be modified to specify support for HTTP as an accepted protocol for the Web service.You can modify ESXi configuration from a shell window over an SSH connection, using the following procedure. If you do not have SSH enabled, use the appropriate vSphere CLI command to obtain the configuration file from the server, modify the file to support HTTP, and move the file back to the ESXi system. For more information about the vSphere CLI command syntax, see the vSphere CLI Installation and Reference Guide.
2 Change directories to /etc/vmware/rhttpproxy.# cd /etc/vmware/rhttpproxy
3 Copy the endpoints.conf file to a temporary directory for editing.# cp endpoints.conf /tmp/endpoints.conf
4 # chmod +w /tmp/endpoints.conf# vi /tmp/endpoints.confIf the /sdk line ends with the words allow allow, you do not need to change it. HTTP access is already allowed.
7 When configured to allow both HTTP and HTTPS connections, the /sdk line looks like this:
8 (Optional) If you prefer to completely disable HTTPS, change the last word to reject instead of allow.When configured to allow only HTTP connections, the /sdk line looks like this:When configured to allow both HTTP and HTTPS connections, the /mob line looks like this:
11 Copy the original endpoints.conf file to a backup file.# cp endpoints.conf endpoints.conf.old
12 Change the permissions on the endpoints.conf file to disable editing.# chmod -w /tmp/endpoints.conf
13 # cp /tmp/endpoints.conf endpoints.confIf you do not have SSH enabled for your ESXi server, use the appropriate vSphere CLI command to obtain the configuration file from the server, modify the file to support HTTP, and move the file back to the ESXi system. For more information about the vSphere CLI command syntax, see the vSphere CLI Installation and Reference Guide.
2 Change directories to /etc/vmware/hostd.
3 Use a text editor to open the proxy.xml file.
4 Navigate to the list of endpoints in the file, identified by the <EndpointList> tag, that contains settings for the Web service supporting the SDK.
5
8 Restart the vmware-hostd process by entering the following command:You can modify the reverse proxy configuration for vCenter Server using the following procedure. The configuration file is the same as for ESX 5.0, but in a different location. For more detail about the file contents, see To modify the Web proxy service on ESX or ESXi 4.1 or 5.0 to support HTTP.Note Your installation might have the configuration file in a different location, such as C:\Program Data\VMware VirtualCenter\proxy.xml.
2 Change to the directory containing the proxy.xml file:
3 Use a text editor to open the proxy.xml file.
5