include ServerName in TLS configuration#25
Open
mutantmonkey wants to merge 1 commit intojanimo:masterfrom
Open
include ServerName in TLS configuration#25mutantmonkey wants to merge 1 commit intojanimo:masterfrom
mutantmonkey wants to merge 1 commit intojanimo:masterfrom
Conversation
Author
|
I'm using Go 1.5.3. |
Owner
|
I see this change going in Go 1.3 but that is not a new one (and it implies that your change is needed) What is the exact error message you get and what server are you connecting to? The standard cmdline client connecting to the OWS server works for me when built against Go 1.5.3 |
Author
|
I have the server set to |
50366b1 to
be962bc
Compare
This is required for Go to establish a TLS connection unless InsecureSkipVerify is set.
be962bc to
852f51b
Compare
|
It seem a sensible thing to implement to me, as this is basically a (very) weak form of certificate pinning, if I understand this correctly: Does setting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is required for Go to establish a TLS connection unless InsecureSkipVerify is set.
I'm not sure if this was a recent change in Go or what; it doesn't appear to be, but perhaps I missed something. I wasn't able to get this running on my system without this change.