解決“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”
阿新 • • 發佈:2018-01-18
policy font edi config 分享 his 內容 class crypto
:我的(1)是1,(2)本來就是0,把(1)改成0後,問題解決。
解決“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;
結果
解決“This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms”