Forum Discussion
hooleylist
Feb 08, 2010Cirrostratus
Hi Ahmad,
Can you post anonymised log output from these portions of the iRule:
log local0. "[IP::client_addr]:[TCP::client_port]: cert $i; subject=[X509::subject [SSL::cert $i]]; [X509::issuer [SSL::cert $i]]; cert_serial=[X509::serial_number [SSL::cert $i]]; [X509::hash [SSL::cert $i]];"
set allcert "[X509::whole [SSL::cert $i]]"
log local0. "[IP::client_addr]:[TCP::client_port]"
log local0. $allcert
set thecert [findstr [X509::whole [SSL::cert $i]] "-----BEGIN CERTIFICATE-----" 28 "-----END CERTIFICATE-----"]
log local0. $thecert
set certnospace [string map -nocase {" " ""} $thecert]
log local0. "Test1 $certnospace"
regsub -all " " $thecert "" certnospace2
log local0. "Test2 $certnospace2"
Thanks,
Aaron