To fulfill load balancer or proxy requirements, you can change the default endpoint Web addresses for the VMware Cloud Director Web Portal, VMware Cloud Director API, and console proxy.
Prerequisites
Verify that you are logged in as a system administrator. Only a system administrator can customize the public endpoints.
Procedure
- From the top navigation bar of the Service Provider Admin Portal, select Administration.
- In the left pane, under Settings, click Public Addresses.
- To customize the public endpoints, click Edit.
- To customize the VMware Cloud Director URLs, edit the Web Portal endpoints.
- Enter a custom VMware Cloud Director public URL for HTTP (non-secure) connections.
- Enter a custom VMware Cloud Director public URL for HTTPS (secure) connections and click Upload to upload the certificates that establish the trust chain for that endpoint.
The certificate chain must match the certificate used by the service endpoint, which is the console proxy certificate uploaded to each VMware Cloud Director cell. SSL termination of console proxy connections at a load balancer is not supported. The certificate chain must include an endpoint certificate, intermediate certificates, and a root certificate in the PEM format without a private key.
- (Optional) To customize the Cloud Director REST API and OpenAPI URLs, turn off the Use Web Portal Settings toggle.
- Enter a custom HTTP base URL.
For example, if you set the HTTP base URL to http://vcloud.example.com, you can access the VMware Cloud Director API at http://vcloud.example.com/api, and you can access the VMware Cloud Director OpenAPI at http://vcloud.example.com/cloudapi.
- Enter a custom HTTPS REST API base URL and click Upload to upload the certificates that establish the trust chain for that endpoint.
For example, if you set the HTTPS REST API base URL to https://vcloud.example.com, you can access the VMware Cloud Director API at https://vcloud.example.com/api, and you can access the VMware Cloud Director OpenAPI at https://vcloud.example.com/cloudapi.The certificate chain must match the certificate used by the service endpoint, which is either the HTTP certificate uploaded to each VMware Cloud Director cell or the load balancer VIP certificate if an SSL termination is used. The certificate chain must include an endpoint certificate, intermediate certificates, and a root certificate in the PEM format without a private key.
- Enter a custom HTTP base URL.
- Enter a custom VMware Cloud Director public console proxy address.
This address is the fully qualified domain name (FQDN) of the VMware Cloud Director server or load-balancer with the port number. The default port is 443.Important: The VMware Cloud Director appliance uses its
eth0
NIC with custom port 8443 for the console proxy service.For example, for a VMware Cloud Director appliance instance with FQDNvcloud.example.com
, enter vcloud.example.com:8443.VMware Cloud Director uses the console proxy address when opening a remote console window on a VM. - To save your changes, click Save.