Forum Discussion
RiverFish
Nov 28, 2012Altostratus
So the devs said that Nitass's iRule didn't look familiar to them. Familiar? I asked what they were expecting and they said there might be an existing iRule on one of the F5's. So I dug around and found the one below. They said that this is the one they needed. So what exactly is the difference?
when CLIENTSSL_CLIENTCERT {
set client_cert [SSL::cert 0]
log local0 "Cert Thumbprint - [X509::subject $client_Hash]"
set cert_hash [X509::hash $client_cert]
}
when HTTP_REQUEST {
if { [info exist cert_hash] } {
HTTP::header insert ClientCertThumbprint $cert_hash
return
}
}