Forum Discussion
Miguel_111028
Oct 23, 2008Nimbostratus
Inserting SSL client certificate into the header of the HTTP session
Hello group,
I do not have much experience in creating iRules and I need to set an iRule to an https virtual server type with client certificate authentication. The iRule should do the...
hooleylist
Nov 03, 2008Cirrostratus
Hi Miguel,
Do you see a TCL error in /var/log/ltm when the client SSL profile is set to require? Is the client sending a cert? I haven't done much with client certs and iRules, but that's the first thing I'd check. Maybe someone else could weigh in on this?
For the Location header rewrite, you could either enable rewriting of redirects on the HTTP profile or you could use an iRule:
when HTTP_RESPONSE {
if {[HTTP::is_redirect]}{
Rewrite the Location header from http to https
HTTP::header replace Location [string map -nocase {http:// https://} [HTTP::header value Location]]
}
}
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