[Solved] harbor Error: because it doesn‘t contain any IP SANs

Bloggers encounter an interesting error when using Harbor:

Error response from daemon: Get x509:

cannot validate certificate for because it doesn’t contain any IP SANs

Error reporting means: error response from the daemon: G ethttps:// X509: unable to validate 192.168 2.250 because it does not contain any IP SAN

Blogger Harbor Address, using 443 as the secure port.


Docker was unable to validate the certificate for the private repository.


Don’t panic when you encounter a problem. Just hit the king and you’ll know how to solve it. I solved it this way:

1. Edit the docker configuration file (/etc/docker/daemon.JSON)

2. Add “secure registers”: [“”], and specify the address and port of the harbor image warehouse.

3. Restart the docker service and the problem can be solved.

If it still cannot be solved, leave a message in the comment area.

Read More: