Open yuanxue1208 opened 4 years ago
When I use the harbor.NewClient(nil, "url","username","password") x509: certificate signed by unknown authority
x509: certificate signed by unknown authority
how to solve this problem
func init() { http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true} }
When I use the harbor.NewClient(nil, "url","username","password")
x509: certificate signed by unknown authority
how to solve this problem