Forum Discussion
GavinW_29074
Jan 03, 2012Nimbostratus
CLIENTSSL_HANDSHAKE without Client SSL profile???
Hi there,
I'm trying to set-up a generic ProxyPass rule to support both HTTP and HTTPS connections...
Currently, I've added the following line to the 'CLIENT_ACCEPTED' section: ...
hooleylist
Jan 04, 2012Cirrostratus
Can you try this snippet to get the protocol for HTTP and HTTPS virtuals?
when HTTP_REQUEST {
Hide the SSL:: command from the iRule parser
so the iRule can be used on a non-client SSL VS
set cipher_cmd "SSL::cipher version"
Check if the client used an SSL cipher and it's not "none"
if {not ([catch {eval $cipher_cmd} result]) && $result ne "none"}{
Client did use a cipher
set proto "https"
} else {
Client did not use a cipher
set proto "http"
}
}
Aaron
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