Forum Discussion
johnko05_45751
Nimbostratus
Jul 23, 2008SSL iRule on a non-SSL VIP??
This iRule inserts specific headers depending on whether the connection is HTTPS-AUTH (requiring a client certificate), HTTPS, or HTTP. I am able to apply this iRule to the HTTPS and HTTPS-AUTH VIPs ...
Deb_Allen_18
Jul 23, 2008Historic F5 Account
You can "hide" the SSL commands from the interpreter by stuffing them into variables, then eval'ing the vars, something like this:
when HTTP_REQUEST {
...
if {[PROFILE::exists clientssl] == 1} {
set cname "SSL::cipher name"
set cbits "SSL::cipher bits"
set cver "SSL::cipher version"
HTTP::header replace SSLCipher [eval $cname]:[eval $cbits]-[eval $cver]
...
HTH
/deb
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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