Forum Discussion
ahmad_2312
Feb 06, 2010Nimbostratus
Thanx holio
this is the insertion part, can i use iRule to look for CRLF and remove it instead of using "lws" since i need to pass the cert to server without any spaces
when HTTP_REQUEST {
if { [SSL::cert count] > 0 } {
set thecert [findstr [X509::whole [SSL::cert 0]] "-----BEGIN CERTIFICATE-----" 28 "-----END CERTIFICATE-----"]
HTTP::header insert WL-Proxy-SSL "true"
HTTP::header insert WL-Proxy-Client-Cert $thecert
}
}