Forum Discussion
PicassoMendez
Nimbostratus
Oct 04, 2013iRule config to Rewrite SSL Header for Transactions
We need to pull three values out of the Client SSL and put them in the Server SSL. Currently we tried using a rule that creates a Session Table to store these. Since this is a API and not a web pag...
Kevin_Stewart
Employee
Oct 04, 2013Apologies, but I'm not really following your iRule. I can say this though, you could probably modify the last part of the HTTP_REQUEST event to do something like this:
set session_data [session lookup ssl [SSL::sessionid]]
if { $session_data ne "" } {
HTTP::header insert X-SSP-CERT-SerialNumber [lindex $session_data 1]
HTTP::header insert X-SSP-CERT-IssuerDN [lindex $session_data 2]
HTTP::header insert X-SSP-CERT-SubjectDN [lindex $session_data 3]
}
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