Forum Discussion

SIP_354925's avatar
SIP_354925
Icon for Nimbostratus rankNimbostratus
Jul 16, 2018

iRule To Inform Clients of TLS Version

I am looking for an iRule that will respond with a message when clients connect with TLSv1. I found the below in a previous DevCentral post and I would like to know if this just displays the message and then continues to the site or would they have to click on something to continue?

Also, how long will this message be displayed for? I do not yet have a "test" application that I can try this on...the reason for my ask. Thanks.

when HTTP_REQUEST { if { [SSL::cipher version] eq "TLSv1" } {

    HTTP::respond 200 content {
      
         
            Apology Page
         
            
                We are sorry, but the site you are looking for is temporarily out of service
                If you feel you have reached this page in error, please try again.
            
      
    }
} else {
  log local0. "SSL Protocol version  [SSL::cipher version]"
}

}

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    This will stop the user access with the message, every time.