golang GET 出现 x509: certificate signed by unknown authority
我们编写一个Go程序来尝试与这个HTTPSserver建立连接并通信。//gohttps/4-https/client1.gopackagemainimport("fmt""io/ioutil""net/http")funcmain(){resp,err:=http.Get("https://localhost:8081")iferr!=nil{fmt.Println("error:",err)r