解决“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”

ⅰ亾dé卋堺 提交于 2020-05-08 00:08:33

解决“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”

还是装那台服务器,装好了IIS和ASP.NET,但在运行aspx页面时出现了异常:
异常信息: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
上网搜索一下,有以下几种方案:
1.用组策略编辑器关闭FIPS:gpedit.msc,改成禁用
这里写图片描述
结果:我的本来就是禁用,此方案无效。
2.将DOTNET Framework停用FIPS。
(1)修改Web.config增加

<configuration>
    <runtime>
        <enforceFIPSPolicy enabled="false"/> </runtime> </configuration>

 

结果:无效
(2)修改C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config,增加与(1)相同的内容
结果:无效
3.修改注册表:
(1):HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa:FipsAlgorithmPolicy=0;
(2):HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy:enabled=0;
结果:我的(1)是1,(2)本来就是0,把(1)改成0后,问题解决

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!