Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/tls: add an example for using VerifyPeerCertificate to customize verification logic #31792

FiloSottile opened this issue May 1, 2019 · 2 comments


Copy link

commented May 1, 2019

A number of proposals to add knobs to tls.Config were closed by providing a way to achieve the same result with InsecureSkipVerify and VerifyPeerCertificate. There should be a basic example that replicates the standard verification logic, so users can edit if needed.


This comment has been minimized.

Copy link
Member Author

commented May 1, 2019

@andybons andybons modified the milestones: Go1.13, Go1.14 Jul 8, 2019


This comment has been minimized.

Copy link

commented Sep 5, 2019

Change mentions this issue: crypto/tls: add ExampleConfig_VerifyPeerCertificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.