I want to get the domain name in java before I determine which certificate I will use to send back. How can I achieve that?
Do I need to analyze the bytes somehow myself? or is there a library for this? or can some java SSL lib do it?
related post Extract Server Name Indication (SNI) from TLS client hello
but I am hoping to just use java library to get the host name.