VMware Cloud Director uses a Cross-Origin Resource Sharing filter implementation to maintain a list of all valid endpoints that you can use to access the Service Provider Admin Portal and the VMware Cloud Director Tenant Portal.
The CORS filtering list is populated and updated during the cell configuration. It contains HTTP and HTTPS entries with IPs and DNS names for all cells in the server group.
It also contains a public IP address that is used by the load balancer in front of the VCD server group. This list may need to be modified if your environment changes, or if the DNS names are updated.
This KB describes the way to modify these values in version 10.3 and later.
Symptoms:
cell-management-tool
can no longer be used to configure the "webapp.allowed.origins
" configuration in a VMware Cloud Director environmenthttps://{{base-url}}/cloudapi/1.0.0/site/settings/cors
https://{{base-url}}/api-explorer/provider#/corsNOTE: This, like the UI will require a valid System Administration set of credentials to access.
GET /1.0.0/site/settings/cors PUT /1.0.0/site/settings/cors
{ "origin": "vcd.domain.local" }, { "origin": "http://vcd.domain.local" }, { "origin": "https://vcd.domain.local" }