Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

tls.VerifyClientCertIfGiven

47 views
Skip to first unread message

Jochen Voss

unread,
May 15, 2024, 5:23:42 AM5/15/24
to golang-nuts
Hello,

In a server I use tls.Config.ClientAuth=tls.VerifyClientCertIfGiven.
If then a client manages to connect and I can see a certificate in
http.Request.TLS.PeerCertificates, does this just mean that the client
has the certificate, or does this also prove that the client has the associated private key?

Many thanks,
Jochen

Reply all
Reply to author
Forward
0 new messages