{"id":7736,"date":"2013-06-07T14:21:03","date_gmt":"2013-06-07T19:21:03","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=7736"},"modified":"2013-07-06T11:06:11","modified_gmt":"2013-07-06T16:06:11","slug":"deploy-aps-net-web-app-from-visual-studio-2010","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=7736","title":{"rendered":"APS.Net Web App Error:  Not FIPS Validated Cryptographic Algorithms"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#This_implementation_is_not_part_of_the_Windows_Platform_FIPS_validated_cryptographic_algorithms\">This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms<\/a>\n\t\t<ol class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Cause\">Cause<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Solution_one\">Solution one<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Solution_two\">Solution two<\/a>\n\t\t\t<\/li>\n<\/ol>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"This_implementation_is_not_part_of_the_Windows_Platform_FIPS_validated_cryptographic_algorithms\"><h2>This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms<\/h2><\/span>\n<span id=\"Cause\"><h3>Cause<\/h3><\/span>\n<p>* See <a href=\"http:\/\/support.microsoft.com\/kb\/911722\">http:\/\/support.microsoft.com\/kb\/911722<\/a><\/p>\n<span id=\"Solution_one\"><h3>Solution one<\/h3><\/span>\n<p>* Disable registry key: <em>HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa > FipsalgorithmPolicy<\/em> by setting it to 0.<\/p>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/06\/aspnet_deploy_issue_fipsAlgorithmPolicy_1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/06\/aspnet_deploy_issue_fipsAlgorithmPolicy_1-300x78.jpg\" alt=\"\" title=\"aspnet_deploy_issue_fipsAlgorithmPolicy_1\" width=\"300\" height=\"78\" class=\"aligncenter size-medium wp-image-7743\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/06\/aspnet_deploy_issue_fipsAlgorithmPolicy_1-300x78.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2013\/06\/aspnet_deploy_issue_fipsAlgorithmPolicy_1.jpg 592w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Solution_two\"><h3>Solution two<\/h3><\/span>\n<p>Edit application <em>Web.config<\/em> file.<br \/>\n* Add inside <em>system.web<\/em> section:<\/p>\n<pre lang=\"xml\">\r\n<system.web>\r\n  ...\r\n  <machineKey \r\n    validationKey=\"AutoGenerate,IsolateApps\" \r\n    decryptionKey=\"AutoGenerate,IsolateApps\" \r\n    validation=\"3DES\" \r\n    decryption=\"3DES\"\/>\r\n<\/system.web>\r\n<\/pre>\n<p>* Inside system.web, set compilation debug=&#8221;false&#8221;:<\/p>\n<pre lang=\"xml\">\r\n<system.web>\r\n  <compilation debug=\"false\">\r\n<\/system.web>\r\n<\/pre>\n<p>* From a privileged DOS window, issue <strong>IISRESET<\/strong> to restart IIS.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms Cause * See http:\/\/support.microsoft.com\/kb\/911722 Solution one * Disable registry key: HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa > FipsalgorithmPolicy by setting it to 0. Solution &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=7736\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6],"tags":[380,359],"class_list":["post-7736","post","type-post","status-publish","format-standard","hentry","category-iis","tag-aspnet-deploy","tag-iis-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-20M","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7736","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7736"}],"version-history":[{"count":5,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7736\/revisions"}],"predecessor-version":[{"id":7754,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/7736\/revisions\/7754"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7736"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7736"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7736"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}