Hi,
I don't believe there is a stock way to have BIG-IP encrypt cookies without using an iRule. To use an iRule, see this example from unRuleY:
Click here
The example uses AES to perform the en/decryption. For more info on AES check here:
Click here
I believe you can use 128, 192 or 256 bit keys using the format:
[AES::key 256]
The wiki page on AES doesn't indicate you need to specify a key length (
Click here) but TMM seems to expect it:
Test rule on 9.2.3:
log local0. "key: [AES::key]"
TMM error:
Sep 25 12:54:43 tmm tmm[21152]: 01220001:3: TCL error: Rule log_aes_key_rule - wrong args: should be "AES::key <128 | 192 | 256>" while executing "AES::key"
It worked when I tested [AES::key 256].
Hope this gets you started...
Aaron