如何在 Windows 7 上启用 FIPS
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4886368/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to enable FIPS on windows 7
提问by qazwsx
Have to test a c# application from client that is to work on a machine that has FIPS enbaled
必须从客户端测试 ac# 应用程序,该应用程序要在启用了 FIPS 的机器上运行
回答by Alex
First, be aware of what actually happens when you enforce FIPS140-2 complient encryption within Windows. Details are at http://technet.microsoft.com/en-us/library/cc750357.aspx. However, the main 'gotcha' (old SSL website's don't work in IE anymore) is detailed in the article linked below.
首先,请注意在 Windows 中强制执行符合 FIPS140-2 的加密时实际发生的情况。详细信息位于http://technet.microsoft.com/en-us/library/cc750357.aspx。但是,下面链接的文章详细介绍了主要的“问题”(旧的 SSL 网站不再在 IE 中工作)。
The official instructions to enable FIPS 140-2 complience are at http://support.microsoft.com/kb/811833, but can be summarised as follows:
启用 FIPS 140-2 合规性的官方说明位于http://support.microsoft.com/kb/811833,但可以总结如下:
- Using an account that has administrative credentials, log on to the computer.
- Click Start, click Run, type gpedit.msc, and then press ENTER.
- In the Local Group Policy Editor, under the Computer Configurationnode, double-click Windows Settings, and then double-click Security Settings.
- Under the Security Settings node, double-click Local Policies, and then click Security Options.
- In the details pane, double-click System cryptography: Use FIPS-compliant algorithms for encryption, hashing, and signing.
- In the System cryptography: Use FIPS-compliant algorithms for encryption, hashing, and signing dialog box, click Enabled, and then click OKto close the dialog box.
- Close the Local Group Policy Editor.
- 使用具有管理凭据的帐户登录到计算机。
- 单击开始,单击运行,键入gpedit.msc,然后按 Enter。
- 在本地组策略编辑器的计算机配置节点下,双击Windows 设置,然后双击安全设置。
- 在“安全设置”节点下,双击“本地策略”,然后单击“安全选项”。
- 在详细信息窗格中,双击系统加密:使用符合 FIPS 的算法进行加密、散列和签名。
- 在系统加密:使用符合 FIPS 的算法进行加密、散列和签名对话框中,单击启用,然后单击确定关闭对话框。
- 关闭本地组策略编辑器。
If you wish to do this manually, you can also simply change the registry key HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled
to 1
如果您想手动执行此操作,您也可以简单地将注册表项更改HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled
为 1
Finally, to repeat, it is very importantthat you read through the documentation before you enable this - it changes cryptography system wide, including how the file system (both EFS and Bitlocker) and network (IE, Remote Desktop and the main cryptographic libraries) are allowed to encrypt, as well as if you allowed to recover lost encryption keys.
最后,重复一遍,在启用此功能之前通读文档非常重要- 它会更改加密系统范围,包括文件系统(EFS 和 Bitlocker)和网络(IE、远程桌面和主要加密库)的方式允许加密,以及是否允许恢复丢失的加密密钥。
回答by Marcelo Finki
As an alternative, for Windows 7 users (with admin rights), this is one of the "Network Properties". Step by step:
作为替代方案,对于 Windows 7 用户(具有管理员权限),这是“网络属性”之一。一步步:
- click on the "Network" icon on task bar.
- right click > Properties on the specific Network connection
- switch to the "Security" tab.
- click on "Advanced Settings" button.
- click the checkbox labeled "Enable Federal Information Processing Standards (FIPS) compliance for this network.
- 单击任务栏上的“网络”图标。
- 右键单击 > 特定网络连接上的属性
- 切换到“安全”选项卡。
- 单击“高级设置”按钮。
- 单击标记为“为此网络启用联邦信息处理标准 (FIPS) 合规性”的复选框。
Also, have in mind:
另外,请记住:
- Recommended reading: http://technet.microsoft.com/en-us/magazine/ff847520.aspx
- This setting sepends on what you have selected as "Security Type" on the Security Tab
- Your wireless network adapter card mightbe doing this encryption in hardware already. This checkbox will switch from that to rather performing AES encryption in software.
- 推荐阅读:http: //technet.microsoft.com/en-us/magazine/ff847520.aspx
- 此设置取决于您在“安全”选项卡上选择的“安全类型”
- 您的无线网络适配器卡可能已经在硬件中进行了这种加密。此复选框将从该复选框切换到在软件中执行 AES 加密。