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