Forum Discussion

JO_JO's avatar
JO_JO
Icon for Altostratus rankAltostratus
May 17, 2023

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_CLIENT...
  • Enes_Afsin_Al's avatar
    May 17, 2023

    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]
    	}
    }