WebConfig 加解密,未能使用提供程序“RsaProtectedConfigurationProvider”进行解密。提供程序返回错误消息为: 打不开 RSA 密钥容器。

问题:未添加用于访问 RSA 密钥容器

命令:aspnet_regiis -pa "NetFrameworkConfigurationKey" "NT AUTHORITY\NETWORK SERVICE"

注意事项:XP下:aspnet_regiis -pa "NetFrameworkConfigurationKey" "aspnet"

加密:aspnet_regiis -pe "appSettings" -app "/应用程序名"

解密:aspnet_regiis -pd "appSettings" -app "/应用程序名"


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2021-11-25
相关资源
相似解决方案