这与 .NET 应用程序的交互使用以及对 app.config 的一部分进行加密有关。
命令:aspnet_regiis -pdf "testSection" "C:\temp"
错误:
Microsoft (R) ASP.NET RegIIS version 4.0.30319.0
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Decrypting configuration section...
Failed to decrypt using provider 'TestKeys'. Error message from the provider:
The RSA key container could not be opened. (C:\temp\web.config line 68)
The RSA key container could not be opened.
Failed!
我从原始系统导入了加密工具包,没有错误:
aspnet_regiis -pi "TestKeys" "C:\Testthing.xml"
我试过添加权限,例如
aspnet_regiis -pa "TestKeys" "test2\administrator"
aspnet_regiis -pa "TestKeys" "administrators"
aspnet_regiis -pa "TestKeys" "users"
没有什么帮助。
我以管理员身份以交互方式登录,并在 Win2012-R2 上以同一用户交互方式登录并导入密钥和测试解密。
我希望能够列出存在的加密工具包,但似乎不可能?
我下一步要做什么?
(在原系统上,我可以整天加解密)