]> Cypherpunks repositories - gostls13.git/commit
cmd/go: for go get -insecure, skip TLS certificate checking
authorRuss Cox <rsc@golang.org>
Wed, 6 Jan 2016 18:52:48 +0000 (13:52 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 7 Jan 2016 01:22:59 +0000 (01:22 +0000)
commitfb142ee9b99b208d59079e8830fb45131b961991
tree2bbe52c92f876b66bfb185ea084d47dd23ec2a37
parentc063e342f823040faeccee8c5c7c6f1b11fb730d
cmd/go: for go get -insecure, skip TLS certificate checking

The flag is already named -insecure. Make it more so.

If we're willing to accept HTTP, it's not much worse to accept
HTTPS man-in-the-middle attacks too. This allows servers
with self-signed certificates to work.

Fixes #13197.

Change-Id: Ia5491410bc886da0a26ef3bce4bf7d732f5e19e4
Reviewed-on: https://go-review.googlesource.com/18324
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/http.go