Forum Discussion
johnko05_45751
Nimbostratus
Sep 07, 2010iRule v9 to v10 conversion
Hello, I used the iRule below just fine on version 9.4.8. We recently upgraded to 10.2. Now I get the following error in /var/log/ltm whenever this iRule is invoked:
Sep 7 23:17:41 local/...
johnko05_45751
Nimbostratus
Sep 08, 2010I was able to fix the iRule. I changed this:
when CLIENTSSL_CLIENTCERT {
clientside {
set cert "SSL::cert"
session add ssl [SSL::sessionid] $cert 600
set cname "SSL::cipher name"
set cbits "SSL::cipher bits"
set cver "SSL::cipher version"
set cn [X509::subject [eval $cert 0]]
set cSSLSubject [findstr $cn "CN=" 3 ","]
set cSSLClientCert [b64encode [eval $cert 0]]
}
}
TO THIS:
when CLIENTSSL_CLIENTCERT {
clientside {
set cert "SSL::cert"
set cname "SSL::cipher name"
set cbits "SSL::cipher bits"
set cver "SSL::cipher version"
set cn [X509::subject [eval $cert 0]]
set cSSLSubject [findstr $cn "CN=" 3 ","]
set cSSLClientCert [b64encode [eval $cert 0]]
set key [concat [SSL::sessionid] [SSL::cert 0]]
session add ssl $key 600
}
}
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