tls.ClientHelloInfo in net/http handler

Hello! I’m need get ClientHelloInfo in net/http handler, how can i get it? <3

Can you be more specific?

What do you mean ?

I need get tls.ClientHelloInfo in net/http handlefunc

clear now,

what did you tried so far?

You can have a look to tls.Config.GetCertificate; you can customize that function and have access to the ClientHelloInfo

Can do you show me example?

I never did directly but this thread was about something similar

Something similar is also here

The question is, what do you need in the handler; why you need to access to the ClientHelloInfo? can’t you use Request.TLS ?

I tried them, dont worked ;(


may you show what you tried so far?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.