How do I move a AutoGenerate,IsolateApps machine k

2019-07-28 16:24发布

问题:

I just found, web.config with below settings in all the environments including prod.

<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"
                    decryption="Auto" />

Now, application is going to start using with load balancing. Would it create problem as its not using static machine keys ?

If I change this key now to static validaitnKey and static decrptionKey then it creates another problem for already protected keys unable to decrypt.

MachineKey.Protect(streamarray,purpose);
MachineKey.Unprotect(string,purpose);

Can you please suggest, what can be done for existing protected keys and still, I can use load balancing.