本想通过一个IP地址下个网页.
resp, err := http.Get("https://xxx.xxx.xxx.xxx")
结果返回个错误信息.
Get https://xxx.xxx.xxx.xxx: x509: certificate signed by unknown authority
怎么办.有没有别的办法,下这个网页
这样试试
```go
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}
client := http.Client{Transport: tr}
resp, err := client.Get("https://xxx")
```
#1