crypto/tls: ExampleDial failing #35706
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Same failure with go1.13.4 under OS X and Ubuntu.
Same solution below works on both.
What operating system and processor architecture are you using (
go env
)?What did you do?
Built and ran the example from https://golang.org/pkg/crypto/tls/#Dial
What did you expect to see?
Expected it to pass.
What did you see instead?
The program failed. The root pem is not currently valid.
I found a CA pem that does make the program succeed. By
changing the hard coded string in the example, the example program works again.
It follows:
The text was updated successfully, but these errors were encountered: