但web启用了md5加密后web
有可能出现这样的错误算法
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithm安全
此实现不是 Windows 平台 FIPS 验证的加密算法的一部分的解决办法方案网站
常见的解决方案就是ui
This setting affects other parts of Windows, including SSL/TLS in both IE and IIS, Terminal Server, and EFS.
上次弄Terminal Server时把那个选项打开了,后来个人Fetion再也没有登录成功过....这个Bug不知道Fetion知不知道.加密
具体解决方法:
单击 开始 ,单击 运行 ,键入 gpedit.msc ,而后单击 肯定 。spa
然而颇有可能 这并不能奏效code
至少对我来讲没有解决任何问题.orm
方法2blog
进注册表
按Win+R运行regedit
修改下面的“Enabled”值为0就能够了
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy\Enabled
实际上操做跟上面的效果是同样的
只不过经过注册表修改而已
一样
没有解决个人问题
最终解决方案 web.config
<system.web>
添加
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"/>
framework目录下对应的machine.config
修改
<runtime>
<enforceFIPSPolicy enabled="false"/>
</runtime>
保存
IIS对应的网站 应用程序池 配置选择
解决问题.