crypto/x509: unable to verify proxy self-signed cert #46937
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputI personally don't use Windows, this issue occurs on users' Windows machines. It most likely also occurs on darwin, linux, etc. too.
What did you do?
We first learned of this with wakatime/wakatime-cli#385. The problem is Go's crypto/tls doesn't select the black-box corporate proxy's cert with the error:
x509: certificate signed by unknown authority
If we disable SSL verification, the request goes through. Python and Git can connect just fine however Curl has some issues too but curl works with the
--ssl-no-revoke
flag.My hypotheses:
*
, but Go needs a TLD?What did you expect to see?
A valid TLS connection through the proxy.
What did you see instead?
Error message
x509: certificate signed by unknown authority
The text was updated successfully, but these errors were encountered: