{"id":617,"date":"2018-03-22T16:24:46","date_gmt":"2018-03-22T08:24:46","guid":{"rendered":"https:\/\/blog.freesilo.com\/?p=617"},"modified":"2018-03-22T16:24:46","modified_gmt":"2018-03-22T08:24:46","slug":"%e6%ad%a4%e5%ae%9e%e7%8e%b0%e4%b8%8d%e6%98%afwindows%e5%b9%b3%e5%8f%b0fips%e9%aa%8c%e8%af%81%e7%9a%84%e5%8a%a0%e5%af%86%e7%ae%97%e6%b3%95%e7%9a%84%e4%b8%80%e9%83%a8%e5%88%86","status":"publish","type":"post","link":"https:\/\/freesilo.com\/?p=617","title":{"rendered":"\u6b64\u5b9e\u73b0\u4e0d\u662fWindows\u5e73\u53f0FIPS\u9a8c\u8bc1\u7684\u52a0\u5bc6\u7b97\u6cd5\u7684\u4e00\u90e8\u5206"},"content":{"rendered":"<p>\u4e2a\u522b\u540c\u5b66\u53ef\u80fd\u4f1a\u5728\u542f\u52a8\u8ba2\u7968\u52a9\u624b.NET\u7684\u65f6\u5019\u53d1\u73b0\u8fd9\u4e2a\u63d0\u793a\uff1a<\/p>\n<div class=\"aw-upload-img-list active\"><a href=\"https:\/\/blog.freesilo.com\/wp-content\/uploads\/2018\/03\/4632f3dd7a838bafa8334244c632c7f3.png\" target=\"_blank\" rel=\"lightbox noopener\" data-fancybox-group=\"thumb\"><img decoding=\"async\" class=\"img-polaroid\" title=\"155824rf00teetqntgi20d.png\" src=\"https:\/\/blog.freesilo.com\/wp-content\/uploads\/2018\/03\/4632f3dd7a838bafa8334244c632c7f3.png\" alt=\"155824rf00teetqntgi20d.png\" \/><\/a><\/div>\n<p>\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u7684\u539f\u56e0\u662f\u8ba2\u7968\u52a9\u624b.NET\u4f7f\u7528\u4e86MD5\u7b97\u6cd5\uff0c\u800c\u7cfb\u7edf\u7684\u7ec4\u7b56\u7565\u5b89\u5168\u8bbe\u7f6e\u5bfc\u81f4\u65e0\u6cd5\u4f7f\u7528\u6b64\u7b97\u6cd5\u3002<br \/>\n\u8981\u4fee\u6b63\u6b64\u95ee\u9898\uff0c\u8bf7\u6309\u7167\u5982\u4e0b\u64cd\u4f5c\uff08\u4e24\u79cd\u65b9\u6cd5\u4efb\u9009\u5176\u4e00\uff09\u3002<\/p>\n<p>\u65b9\u6cd5\u4e00\u3002<\/p>\n<p>1.\u6309<kbd>WIN+R<\/kbd>\uff08\u6216\u70b9\u51fb\u5f00\u59cb-\u8fd0\u884c\uff09\uff0c\u5e76\u8f93\u5165<kbd>gpedit.msc<\/kbd>\u540e\u786e\u5b9a\uff0c\u542f\u52a8\u7ec4\u7b56\u7565\u7f16\u8f91\u5668\u3002<\/p>\n<p>2.\u5de6\u4fa7\u5217\u8868\u4e2d\u627e\u5230\u00a0\u8ba1\u7b97\u673a\u914d\u7f6e\u00a0&#8211;\u00a0Windows\u8bbe\u7f6e\u00a0&#8211;\u00a0\u5b89\u5168\u8bbe\u7f6e\u00a0&#8211;\u00a0\u672c\u5730\u7b56\u7565\u00a0&#8211;\u00a0\u5b89\u5168\u9009\u9879\uff0c\u5e76\u5728\u53f3\u4fa7\u627e\u5230\u201c\u7cfb\u7edf\u52a0\u5bc6\uff1a\u5c06FIPS\u517c\u5bb9\u7b97\u6cd5\u7528\u4e8e\u52a0\u5bc6\u3001\u54c8\u5e0c\u548c\u7b7e\u540d\u201d<\/p>\n<div class=\"aw-upload-img-list active\"><a href=\"https:\/\/blog.freesilo.com\/wp-content\/uploads\/2018\/03\/75c42eaafd8d1c29cf1333be5c39c7ac.png\" target=\"_blank\" rel=\"lightbox noopener\" data-fancybox-group=\"thumb\"><img decoding=\"async\" class=\"img-polaroid\" title=\"\" src=\"https:\/\/blog.freesilo.com\/wp-content\/uploads\/2018\/03\/75c42eaafd8d1c29cf1333be5c39c7ac.png\" alt=\"\" \/><\/a><\/div>\n<p>3.\u53cc\u51fb\u4e0a\u8ff0\u7b56\u7565\uff0c\u5728\u5f39\u51fa\u7684\u9009\u9879\u4e2d\uff0c\u5c06\u72b6\u6001\u6539\u4e3a\u5df2\u7981\u7528\u3002<\/p>\n<div class=\"aw-upload-img-list active\"><a href=\"https:\/\/blog.freesilo.com\/wp-content\/uploads\/2018\/03\/0deddf034069cdcd8af55586fc7ae4bf.png\" target=\"_blank\" rel=\"lightbox noopener\" data-fancybox-group=\"thumb\"><img decoding=\"async\" class=\"img-polaroid\" title=\"\" src=\"https:\/\/blog.freesilo.com\/wp-content\/uploads\/2018\/03\/0deddf034069cdcd8af55586fc7ae4bf.png\" alt=\"\" \/><\/a><\/div>\n<p>4.\u5173\u95ed\u7ec4\u7b56\u7565\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u52a9\u624b\u3002<\/p>\n<p>\u65b9\u6cd5\u4e8c<br \/>\n\u6309<kbd>Win+R<\/kbd>\uff08\u6216\u70b9\u51fb\u5f00\u59cb-\u8fd0\u884c\uff09\uff0c\u5e76\u8f93\u5165<kbd>regedit<\/kbd>\u540e\u786e\u5b9a\uff0c\u542f\u52a8\u6ce8\u518c\u8868\u7f16\u8f91\u5668\u3002<\/p>\n<p>\u6d4f\u89c8\u5230<code>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Lsa\\FipsAlgorithmPolicy<\/code>\uff0c\u5c06<code>Enabled<\/code>\u7684\u503c\u6539\u4e3a<code>0<\/code><\/p>\n<p>\u5173\u95ed\u6ce8\u518c\u8868\u7f16\u8f91\u5668\u540e\uff0c\u91cd\u65b0\u542f\u52a8\u52a9\u624b\u3002<\/p>\n<p>\u53c2\u8003\u8d44\u6599\uff1a<\/p>\n<p>from:http:\/\/ask.fishlee.net\/article\/3<\/p>\n<p>&nbsp;<\/p>\n<p>===================================================================================<\/p>\n<p>\u9519\u8bef\u4fe1\u606f\uff1a<br \/>\n\u6b64\u5b9e\u73b0\u4e0d\u662f\u00a0Windows\u00a0\u5e73\u53f0\u00a0FIPS\u00a0\u9a8c\u8bc1\u7684\u52a0\u5bc6\u7b97\u6cd5\u7684\u4e00\u90e8\u5206\u3002<br \/>\n\u5806\u6808\u4fe1\u606f\uff1a<br \/>\n\u5728\u00a0System.Security.Cryptography.MD5CryptoServiceProvider..ctor()<br \/>\n\u5728\u00a0Genersoft.Platform.AppFramework.UpdaterSPI.MD5Token.GetToken(String\u00a0path)<br \/>\n\u5728\u00a0Genersoft.Platform.AppFramework.Updater.ClientSPI.GSPUpdateManager.ExcuteUnZip(GSPUpdateItem\u00a0update)<br \/>\n\u5185\u90e8\u9519\u8bef\u4fe1\u606f\uff1a<\/p>\n<hr \/>\n<p>1\u3001\u7981\u7528Fips\u6807\u51c6\u9a8c\u8bc1\uff1a\u5728window\u4e2d\u6253\u5f00\u529f\u80fd\u91cc\u8f93\u5165regedit,\u56de\u8f66\u6253\u5f00\u6ce8\u518c\u5668\u3002\u7136\u540e\u8fdb\u5165\u5982\u4e0b\u8def\u5f84\u4e2d<\/p>\n<p>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Lsa\\FipsAlgorithmPolicy<\/p>\n<p>\u5c06Enable\u8bbe\u7f6e\u4e3a0\uff0c\u7136\u540e\u91cd\u65b0\u542f\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>2\u3001\u5982\u679c\u5c06\u6ce8\u518c\u8868\u9879\u6539\u4e3a0\u4e4b\u540e\uff0c\u4ecd\u4e0d\u8d77\u4f5c\u7528\uff0c\u5efa\u8bae\u66f4\u65b0\u5fae\u8f6f\u8865\u4e01Kb935434\uff0c\u5982\u679c\u4e0b\u8f7d\u4e0d\u5230\uff0c\u53ef\u5c06\u5fae\u8f6f\u7684\u7cfb\u7edf\u8865\u4e01\u5347\u7ea7\u5230\u6700\u65b0\uff08\u6709\u9879\u76ee\u9a8c\u8bc1\u8fc7\uff09\u3002<\/p>\n<p>\u4e0b\u9762\u6587\u6863\u4e2d<\/p>\n<p><a href=\"https:\/\/social.technet.microsoft.com\/Forums\/windows\/en-US\/b6c8d598-1b82-437c-959c-359695ed0dd6\/windows-server-2008-r2-enterprise?forum=WinServerPreviewZHCN\">https:\/\/social.technet.microsoft.com\/Forums\/windows\/en-US\/b6c8d598-1b82-437c-959c-359695ed0dd6\/windows-server-2008-r2-enterprise?forum=WinServerPreviewZHCN<\/a><\/p>\n<p>\u5728windows server 2008 r2 enterprise\u7cfb\u7edf\u4e2d\u6211\u5b89\u88c5\u4e86Vs2008\u8fd0\u884c\u4ee3\u7801\u65f6\u51fa\u73b0\u9519\u8bef\uff0c\u9519\u8bef\u4fe1\u606f\u5982\u4e0b\uff1a\u6b64\u5b9e\u73b0\u4e0d\u662fwindows\u5e73\u53f0FIPS\u9a8c\u8bc1\u7684\u52a0\u5bc6\u7b97\u6cd5\u7684\u4e00\u90e8\u5206\u3002\u6211\u4e0a\u7f51\u67e5\u4e86\u8d44\u6599\u5982\uff1a\u89e3\u51b3\u65b9\u6848\u5982\u4e0b\uff1a\u5728window\u4e2d\u6253\u5f00\u529f\u80fd\u91cc\u8f93\u5165regedit,\u56de\u8f66\u6253\u5f00\u6ce8\u518c\u5668\u3002\u7136\u540e\u8fdb\u5165\u5982\u4e0b\u8def\u5f84\u4e2d<\/p>\n<p>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Lsa\\FipsAlgorithmPolicy\u5c06\u00a0\u00a0\u00a0 enable\u8bbe\u7f6e\u4e3a0 \u5373\u53ef\u3002\u6211\u90fd\u5c1d\u8bd5\u8fc7\u4f46\u662f\u6ca1\u7528\u3002<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u53ef\u80fd\u662f\u56e0\u4e3aMD5\u7b97\u6cd5\u548cFIPS\u4e0d\u517c\u5bb9\u5f15\u8d77\u7684\uff0cMD5\u7b97\u6cd5\u662f\u7528\u5e94\u7528\u7a0b\u5e8f\u670d\u52a1\uff08Windows Communication Foundation\uff09\u6765\u83b7\u53d6hash\u503c\u5f97\u3002Hash\u503c\u4e3a\u6570\u636e\u5951\u7ea6\u4ea7\u751f\u4e00\u4e2a\u552f\u4e00\u7684\u540d\u79f0\u3002\u5fae\u8f6f\u6709\u4e2a\u8865\u4e01\uff08hotfix\uff09\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\uff0c\u00a0\u6211\u5efa\u8bae\u60a8\u5148\u8bd5\u7740\u5b89\u88c5\u8fd9\u4e2a\u8865\u4e01\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n<p>\u8be6\u7ec6\u7684\u4fe1\u606f\uff0c\u8bf7\u53c2\u8003\u4e0b\u9762\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n<p>FIX: Error message in FIPS-compliant systems when you use Windows Communication Foundation to serialize generic types: &#8220;This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms&#8221;<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/935434\">https:\/\/support.microsoft.com\/en-us\/kb\/935434<\/a><\/p>\n<p>3\u3001App.Config\u6216Web.config\u91cc\u589e\u52a0\u5982\u4e0b\u914d\u7f6e\uff0c\u5f3a\u884c\u8bbe\u7f6e\u4e3afalse\uff0c\u907f\u8fc7FIPS\u7684\u7b56\u7565\u68c0\u67e5\uff1a<\/p>\n<p>&lt;configuration&gt;<\/p>\n<p>&lt;runtime&gt;<\/p>\n<p>&lt;enforceFIPSPolicy enabled=&#8221;false&#8221; \/&gt;<\/p>\n<p>&lt;\/runtime&gt;<\/p>\n<p>&lt;\/configuration&gt;<\/p>\n<p>\u5982\u679c\u662f\u4e00\u4e9b\u5de5\u5177\u7a0b\u5e8f\uff0cApp.config\u9700\u8981\u547d\u540d\u4e3a **.exe.config\u3002<\/p>\n<p>\u53c2\u8003\u8d44\u6599from\uff1ahttp:\/\/gsp.inspur.com\/q2a2\/app.php\/post\/12344\/show<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e2a\u522b\u540c\u5b66\u53ef\u80fd\u4f1a\u5728\u542f\u52a8\u8ba2\u7968\u52a9\u624b.NET\u7684\u65f6\u5019\u53d1\u73b0\u8fd9\u4e2a\u63d0\u793a\uff1a \u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\u7684\u539f\u56e0\u662f\u8ba2&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/freesilo.com\/?p=617\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,20],"tags":[],"class_list":["post-617","post","type-post","status-publish","format-standard","hentry","category-dotnet","category-windows"],"_links":{"self":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=617"}],"version-history":[{"count":2,"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts\/617\/revisions"}],"predecessor-version":[{"id":622,"href":"https:\/\/freesilo.com\/index.php?rest_route=\/wp\/v2\/posts\/617\/revisions\/622"}],"wp:attachment":[{"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freesilo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}