Open mathewusher opened 7 years ago
@mathewusher thanks for letting me know. I'll look into it asap.
@mathewusher sorry for being away for a while. Did you create a &tls.Config
pointer or just the tls.Config
struct? I tested the code with:
tlsConfig := func(r *requests.Request) {
r.TLSClientConfig = &tls.Config{
InsecureSkipVerify: true,
}
}
res, err := requests.Get("https://requestb.in/opfq41op", tlsConfig)
And I received 200
from my end.
When running the crypto/tls package and setting the InsecureVerifySkip to true I still get the error x509: certificate signed by unknown authority golang