JO_JO
May 17, 2023Altostratus
CLIENT_HELLO SSL TLS version insert
CLIENT_HELLO SSL/TLS version insert
HELLO,
I want to insert the SSLv3, TLSv1, TLSv1.1 version in the HTTP header
The name of the HTTP header is "version"
I must use irule
when CLIENTSSL_CLIENTHELLO {
set version [SSL::cipher version]
}
when HTTP_REQUEST {
if {[class match $version equals tls-version ]} {
HTTP::header "version = $version"
}
}
In the data group tls-version, I defined SSLv3,TLSv1, TLSv1.1
It does not work
What's the problem?
Is there a better way?
Hi JO_JO,
"insert" command is required to add http header. Can you try this iRule?
when HTTP_REQUEST { if { [class match [SSL::cipher version] equals tls-version] } { HTTP::header insert "version" [SSL::cipher version] } }