How can we make Machine key generated from to two web servers same?

How can we make Machine key generated from to two web servers same?

In case were bearer token for RESTAPI created from first web server wont work when it is pointed to the second server by the load balancer. We have to make sure both servers have same machine key for that follow the steps below:

1. In Web Node 1, Go to IIS, then navigate to eMAMRESTAPI and click on Machine Key



2. Set Encryption method to AES and uncheck both Automatic generate at runtime check boxes. Click on Generate Keys



3. once the Validation key and Decryption key are generated, then click apply.


4. In Web node 2. Just like in Node on navigate to this page and make sure you give the exact values as in node and click apply.