When using docker client CLI to login to the VMware Harbor Registry's IP address as "$ docker login X.X.X.X" as an example, it fails with the following error:
"cannot validate certificate for X.X.X.X because it doesn't contain any IP SANs"
The certificate generated for the Harbor VM is generated for the FQDN Hostname of the Harbor instance therefore you need to login to docker using the FQDN and not the IP.
Follow the steps to resolve this issue:
$ docker login FQDN