In the VMware Advanced Load Balancer (ALB) Basic Tier, you are limited to a single DataScript per Virtual Service, which is why you are encountering the error when trying to add two scripts.
The limitation of the Basic Tier means that you cannot use multiple DataScripts for advanced functionality such as encrypting cookies and setting flags in different scripts.
Here are a few approaches to work around this limitation:
- Combine the scripts into one: You can try merging the functionality of both scripts into a single script. For example, you can include both the cookie encryption and setting of the HTTPOnly and Secure flags within the same DataScript. Here's an example approach of how you might do that:
First, extract the cookie value.
Then, apply the encryption.
Set the HTTPOnly and Secure flags on the cookie.
- Combining these actions into a single script will allow you to avoid the multiple script limitation.
Original Message:
Sent: Dec 06, 2024 04:47 AM
From: Michal Iwanczuk
Subject: AVI Load Balancer Basic
Hi
I have ALB Basic Tier lic, and get problem setup secure cookie and http only using documantion HTTP Cookie Encryption Gateway
Vmware | remove preview |
 | HTTP Cookie Encryption Gateway | The following DataScript encrypts the contents of a cookie going to a client and decrypts the content before returning the cookie to the server. This DataScript can be altered to encrypt all cookies, set the HTTPonly and Secure flags, and use a more complex key and encryption algorithm. | View this on Vmware > |
|
|
When i add two scrits i get error
VSDataScriptSet.datascript: VSDataScriptSet.datascript cannot have more than 1 datascript in BASIC tier.
Is it possible to implement this in the basic version?