User-540818677 posted
I usually secure the connection string and any confidential data inside my web.config file using these commands:-
aspnet_regiis -pe "customAppSettingsGroup/customAppSettings" -app "/" -prov "DataProtectionConfigurationProvider"
ASPNET_REGIIS -pef "customAppSettingsGroup/customAppSettings" "C:\Backups\MSE\MSE\MSE"
but my question is when decrypting those values will fail? or as long as the web.config is on the same server then we can decrypt the value using Asp.Net_REGIIS? or it depends on the certificate inside the server, so for example if the certificate got updates
or changed the decrypt will fail?
Thanks