For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Tod_Martinsen_1's avatar
Tod_Martinsen_1
Icon for Nimbostratus rankNimbostratus
May 24, 2010

iRule Generates error TCLerror: ... while executing...

LTM is generating the following log message when executing an iRule:

 

 

Mon May 24 12:14:42 CDT 2010 tmm tmm[1228] 01220001 TCL error: Rule Log_Remote_Certificate CLIENTSSL_CLIENTCERT - while executing X509::subject $cert How can I find a list of the status codes to decode what this error means? Is this just reporting a problem with the TCL syntax?

 

2 Replies

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Could you post the iRule you're trying to get to fire? We could likely help determine where the problem is coming from.

     

     

    As for the error message, it's just a general error saying tat the X509::subject command couldn't be executed.

     

     

    Colin
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Also, which LTM version are you running?

     

     

    You might want to check if SSL::cert 0 returns a non-null string before trying to run any commands against the value:

     

     

    
    if {[SSL::cert 0] ne ""}{
       set cert [SSL::cert 0]
    } else {
       ... code to handle client not presenting a cert... 
    }
    

     

     

    Aaron