Forum Discussion
Goran_Blomquis1
Nimbostratus
Mar 26, 2009Set ssl to require and pass cert when uri /manual
Hi devcentral
I try to write a I-rule that change ignore to require in SSLclient profile. I think Iḿ on the right track, but backend seems to be very slow and ask for cert all the time....
Goran_Blomquis1
Nimbostratus
Oct 15, 2009Hi,
The result was that certificate info never reached the backend server (if I rember it right). Problem are solved and I use an I-rule looking something like this.
when CLIENTSSL_CLIENTCERT {
HTTP::release
if { [SSL::cert count] < 1 } {
reject
}
}
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/manual" } {
if { [SSL::cert count] <= 0 } {
HTTP::collect
SSL::authenticate always
SSL::authenticate depth 9
SSL::cert mode require
SSL::renegotiate
}
}
}
when HTTP_REQUEST_SEND {
clientside {
if { [HTTP::uri] starts_with "/manual" } {
if { [SSL::cert count] > 0 } {
HTTP::header replace X-Client-Cert [b64encode [SSL::cert 0]]
}
}
}
}
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
