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

strain17's avatar
strain17
Icon for Nimbostratus rankNimbostratus
Dec 12, 2016

Cookie Encryption with HTTP Profile

Is there a way to use a HTTP profiles' cookie encryption to encrypt cookies that are manually inserted with HTTP::cookies insert or ACCESS::respond?

Example 1:

when HTTP_RESPONSE {
        HTTP::header insert Set-Cookie "testcookie=abcd1234;"
}

Example 2:

when ACCESS_ACL_ALLOWED {
        ACCESS::respond 200 "Set-Cookie" "testcookie=abcd1234;" "Connection" "Close"
}

I'm trying to avoid having to manually encrypt/decrypt cookies with iRules.

Thanks!

No RepliesBe the first to reply