Official documents ：https://github.com/goharbor/harbor/blob/master/docs/configure_https.md
Want to access remote Harbor, You need to configure HTTPS visit . During configuration ,Harbor The server and Docker The client needs to be configured to make the two interworking .
First, generate the certificate according to the official document （ The name of the certificate doesn't matter ）.
Use IP In the case of an interview , All domain names can use this IP.
Put the certificate in the specified location .
After the document configuration is completed , Docker The client also needs to configure private certificate authentication .
take Harbor Server side
ca.crt file , Put it in Docker Client specified directory below , for example ：
/etc/docker/certs.d/IP Or domain name :5000/ca.crt
It can be remotely configured Harbor pull and push 了 .