Caused by: javax.net. ssl. SSLHandshakeException: SSLHandshakeException invoking https://XX.XXXX.in/api/versions: No subject alternative DNS name matching XX.XXXX.XXXX.in found.
openssl s_client -connect FQDN:443" on other site shows that the *.domain cert is being used.*.domain.in, while the VCD FQDN is *.xxxx.domain.inVMware Cloud Director 10.x
*., it only matches the immediate subdomain (the leftmost part of the domain). It does not match subsequent subdomains or the base domain.*.example.com will match foo.example.com, but it will not match bar.foo.example.com or example.com. Essentially, the wildcard only covers a single level of subdomain directly to the left of the domain.Obtain a more specific wildcard certificate, such as *.xxxx.domain.in. After acquiring the correct certificate, replace the existing wildcard certificate in your VCD environment.
https://www.rfc-editor.org/rfc/rfc6125#page-27