This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms when building an app with visual studio

别等时光非礼了梦想. 提交于 2019-12-21 03:17:09

问题


I am trying to compile my program in visual studio and I am getting a FIPS Cryptographic algorithms error. I have checked the registry key and it is set to false.

Any suggestions?


回答1:


I had a hard time with this too. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa. Under a subkey you should see FipsAlgorithmPolicy. DELETE this registry entry and restart visual studio.

REF: https://blogs.iis.net/webtopics/parser-error-message-this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptographic-algorithms-when-net-page-has-debug-true




回答2:


You can fix this by adding <enforceFIPSPolicy enabled="false"/> under the runtime section in the .config files of:

  • MSBuild (example path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe.config)
  • Visual Studio (example path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe.config)



回答3:


Question is a bit general. My more specific error:

AppContainer Creation Failed with error message NONE, state This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms

Microsoft explains and lists a workaround here:

https://support.microsoft.com/en-us/help/911722/you-may-receive-an-error-message-when-you-access-asp-net-web-pages-tha

Open Web.config Locate the system.web section

Add the key:

*<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"/>*

Save Web.Config, then iisreset from the command prompt.

Assumption is that company policy has set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\fipsalgorithmpolicy with a value of 1 (and of course, that IIS is running)

Would be nice to know why this effects the installation of Python and R on Windows SQL Server 2019.



来源:https://stackoverflow.com/questions/14509354/this-implementation-is-not-part-of-the-windows-platform-fips-validated-cryptogra

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