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

Posted magic-xxj

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”(相关的知识,希望对你有一定的参考价值。

解决“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后,问题解决

 














以上是关于解决“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”(的主要内容,如果未能解决你的问题,请参考以下文章