You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the http client to do mutual tls verify for different endpoints(or different client cert for different servers).
Not sure if GetClientCertificate() could be used for it. I'm a little confused about it. Because CertificateRequestInfo doesn't have server endpoint or host info.
crypto/tls
GetClientCertificatefunc(*CertificateRequestInfo) (*Certificate, error) // Go 1.8
It would be great if someone could give such an example? or maybe any other method to meet this requirement?
What version of Go are you using (go version)?
go version go1.13.3 linux/amd64
The text was updated successfully, but these errors were encountered:
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
I'm using the http client to do mutual tls verify for different endpoints(or different client cert for different servers).
Not sure if GetClientCertificate() could be used for it. I'm a little confused about it. Because CertificateRequestInfo doesn't have server endpoint or host info.
It would be great if someone could give such an example? or maybe any other method to meet this requirement?
What version of Go are you using (
go version
)?The text was updated successfully, but these errors were encountered: