1
■ For vCenter Server Appliance:
/etc/vmware-rhttpproxy/endpoints.conf.d
■ For vCenter Server for Windows:
C:\Program Data\VMware\vCenterServer\cfg\vmware-rhttpproxy\endpoints.conf.d
3 Copy the vapi-endpoint.conf file to a temporary directory for editing.
■ On vCenter Server Appliance:
# cp vapi-endpoint.conf /tmp/vapi-endpoint.conf
■ On vCenter Server Appliance:
# chmod +w /tmp/vapi-endpoint.conf
■ On vCenter Server for Windows, right click the file in File Explorer and select Properties to change file permissions.
■ On vCenter Server Appliance:
# vi /tmp/vapi-endpoint.conf
7 When configured to allow both HTTP and HTTPS connections, the /rest line looks similar to 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 /rest line looks similar to this:
10 When configured to allow both HTTP and HTTPS connections, the /api line looks similar to this:
■
■ On vCenter Server for Windows, right click the file in File Explorer and select Properties to change file permissions.
13 Copy the original vapi-endpoint.conf file to a backup file.
■
14 Copy the temporary file back, replacing the original vapi-endpoint.conf file.
■ From the Windows menu, choose Control Panel > Administrative Tools > Services, right click the rhttpproxy service, and choose Restart.