Forum Discussion

Ziv_Saar's avatar
Ziv_Saar
Icon for Employee rankEmployee
Feb 01, 2008

SSL::profile command on serverside connection

Hi Guys,

 

 

I am trying to work with multiple SSL serverside profiles on a single VIP.

 

 

when SERVER_CONNECTED {

 

set match_profile [findclass $CN_Name $::my_cn_list]

 

set serversideSSLprofile [findstr $match_profile" "|" "1"]

 

log local0. "SSL Serverside profile matched: $serversideSSLprofile"

 

SSL::profile $serversideSSLprofile

 

}

 

 

I have a the default serverside profile attached to the vip and I am receiving the following error:

 

 

Feb 1 13:17:01 tmm tmm[1669]: 01220001:3: TCL error: Ziv_test - wrong args: should be "SSL::profile " while executing "SSL::profile $serversideSSLprofile"

 

 

It seems like it doesnt like the $variable in the command.

 

Anyone has any idea how i can get away from that?

 

(it worked when stating a specific profile name instead)

 

 

Thanks,

 

Ziv

 

 

1 Reply

  • It looks like this was being caused by a double quote in the variable after getting parsing it from the class.

     

     

    Aaron