Forum Discussion
scott_nixon_825
Dec 27, 2004Historic F5 Account
Command for HTTP header insertion to insert an SSL session ID
What is the command for HTTP header insertion to insert an SSL session ID as a header into an HTTP request for BIGIP 9.0
Our 9.0 manaula states, on Chapter 9 pg2:
You can also use an iRule to enable persistence for SSL-terminated requests, that is, requests that the LTM system terminates by performing decryption and re-encryption and by handling SSL certificate authentication.
In this type of iRule, you can use an HTTP header insertion iRule command to insert an SSL session ID as a header into an HTTP request.
Would this work:
rule uri_persist {
when HTTP_REQUEST {
set srvid [findstr [URI::query [HTTP::uri]] "srvid=" 6 ";"]
if { $srvid ne "" } {
persist uie $srvid
}
}
}
- unRuleY_95363Historic F5 AccountOk, you seem to be asking several things here:
profile http my_http { header insert "SSLClientSessionID: [SSL::sessionid]" }
rule insert_ssl_session_id { when HTTP_REQUEST { HTTP::header insert [SSL::modssl_sessionid_headers] } }
- scott_nixon_825Historic F5 AccountThanks, this answers everything
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