Forum Discussion
gdoyle
May 25, 2016Cirrostratus
Use iFile to when only TLS1.0 is being used.
I want to display a custom message to people who are using only TLS1.0 in their browsers as to why they cannot access the website. I used the code below to attempt to do what I wanted after uploading...
Yann_Desmarest_
Nacreous
Hi,
You should try adding a log in your irule to make sure that you negociate SSL using TLS1.0
when HTTP_REQUEST {
log local0. "[virtual] - SSL version=[SSL::cipher version], client_ip=[IP::client_addr]"
if { not ([SSL::cipher version] starts_with "TLSv1.") } {
log local0. "[virtual] - SSL version=[SSL::cipher version], client_ip=[IP::client_addr], invalid SSL version"
HTTP::respond 200 content [ifile get message.html] noserver "Content-Type" "text/html" "Cache-Control" "no-cache, must-revalidate" Connection Close
}
}
Yann_Desmarest_
May 25, 2016Nacreous
or using cli, you can execute the following command to get insight live : tailf /var/log/ltm
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects