DarioGB_339840
Sep 12, 2018Altostratus
Cookie Persist with Encryption Via IRule
Hello.
I have a VS configured for pool selection by context (via iRule). Also, I apply a different persist profile depending of the context.
ltm virtual VS-Pruebas_DGB_80 {
persist {
cookie_crypt {
default no
}
source_addr {
default yes
}
}
}
One of the profiles configured is a cookie insert profile with encryption.
ltm persistence cookie cookie_crypt {
app-service none
cookie-encryption required
cookie-encryption-passphrase $M$Ex$TrRJFrQUr7JnneIQ9y9DDg==
cookie-name WOW
defaults-from cookie
}
Following the Persist Doc, I use next command to apply the cookie profile (cookie_crypt):
persist cookie insert
But doing that, the system only applies a generic cookie profile (without name and without encryption):
Set-Cookie: BIGipServerWebServer=2502459914.20480.0000; path=/
I need to configure an encrypted cookie persist profile using iRule. Any idea how to do that?
KR, Dario.