{"id":664,"date":"2016-11-22T03:19:55","date_gmt":"2016-11-21T20:19:55","guid":{"rendered":"http:\/\/blog.trichev.com\/?p=664"},"modified":"2017-08-10T09:11:26","modified_gmt":"2017-08-10T02:11:26","slug":"sccm-1606-software-updates-deployment-fails-after-enabling-https","status":"publish","type":"post","link":"https:\/\/trichev.com\/blog\/2016\/11\/22\/sccm-1606-software-updates-deployment-fails-after-enabling-https\/","title":{"rendered":"SCCM 1606. Software Updates Deployment fails after enabling HTTPS"},"content":{"rendered":"<p>After I have enabled HTTPS on every SCCM 1606 component all my windows update client just suddenly stopped working. Windows Update check stopped with &#8220;0x80244019&#8221;<\/p>\n<p>WindowsUpdate.log on a client side:<br \/>\n2016\/11\/21 13:13:00.7947333 1396 5228 WebServices Auto proxy settings for this web service call.<br \/>\n2016\/11\/21 13:13:00.8137726 1396 5228 WebServices Auto proxy settings for this web service call.<br \/>\n2016\/11\/21 13:13:00.8267772 1396 5228 WebServices WS error: There was an error communicating with the endpoint at &#8216;https:\/\/sccmwsusserver.com:8531\/ClientWebService\/client.asmx&#8217;.<br \/>\n2016\/11\/21 13:13:00.8267778 1396 5228 WebServices WS error: The server returned HTTP status code &#8216;404 (0x194)&#8217; with text &#8216;Not Found&#8217;.<br \/>\n2016\/11\/21 13:13:00.8267778 1396 5228 WebServices WS error: The requested resource was not found.<br \/>\n2016\/11\/21 13:13:00.8267787 1396 5228 WebServices Web service call failed with hr = 80244019.<br \/>\n2016\/11\/21 13:13:00.8267787 1396 5228 WebServices Current service auth scheme=0.<br \/>\n2016\/11\/21 13:13:00.8267790 1396 5228 WebServices Current Proxy auth scheme=0.<\/p>\n<p>Ok, lets troubleshoot:<\/p>\n<p>netsh winhttp show proxy<\/p>\n<p>Current WinHTTP proxy settings:<\/p>\n<p>Direct access (no proxy server).<\/p>\n<p>https:\/\/sccmwsusserver.com:8531\/SimpleAuthWebService\/SimpleAuth.asmx &#8211; reachable<br \/>\nhttps:\/\/sccmwsusserver.com.com:8531\/ClientWebService\/client.asmx &#8211; reachable<\/p>\n<p>Clients\/DMZ firewalls were fine also<\/p>\n<p>After some useless googling I&#8217;ve found this <a href=\"https:\/\/social.technet.microsoft.com\/Forums\/en-US\/3b85e68e-7ab5-4935-9221-40973487ecae\/software-updates-deployment-fails-after-enabling-https-scan-failed-with-error-0x80244019\">Microsoft TechNet thread <\/a>.<br \/>\nAnd last replay was: &#8220;Whats in WCM.log on the SUP? Was KB3159706 recently installed? If you do, there is some post installation steps https:\/\/support.microsoft.com\/en-au\/kb\/3159706&#8221;. Interesting. I checked updates on my SCCM server and I found KB3159706 installed there. Great. Let me copy-paste from the article:<\/p>\n<p>Manual steps required to complete the installation of this update<\/p>\n<p>Open an elevated Command Prompt window, and then run the following command (case sensitive, assume &#8220;C&#8221; as the system volume):<\/p>\n<p><strong>&#8220;C:\\Program Files\\Update Services\\Tools\\wsusutil.exe&#8221; postinstall \/servicing<\/strong><\/p>\n<p>Select <strong>HTTP Activation<\/strong> under <strong>.NET Framework 4.5 Features<\/strong> in the Server Manager Add Roles and Features wizard.<\/p>\n<p><img class=\"graphic\" title=\"HTTP activation\" src=\"https:\/\/support.microsoft.com\/Library\/Images\/3161700.jpg\" alt=\"HTTP activation\" \/><br \/>\nRestart the WSUS service.<\/p>\n<p>If SSL is enabled on the WSUS server<\/p>\n<p>Assign ownership of the Web.Config file to the administrators group (run at an elevated command prompt):<br \/>\ncd &#8220;C:\\Program Files\\Update Services\\WebServices\\ClientWebService\\&#8221;<br \/>\n<strong>takeown \/f web.config \/a<\/strong><\/p>\n<p><strong>icacls &#8220;C:\\Program Files\\Update Services\\WebServices\\ClientWebService\\Web.config&#8221; \/grant administrators:f<\/strong><\/p>\n<p>Locate the Web.Config file in the following path:<br \/>\nC:\\Program Files\\Update Services\\WebServices\\ClientWebService\\Web.Config<br \/>\nMake the following changes in the file.<\/p>\n<p>Note This code sample represents a single text block. The line spacing is used only to emphasize the text changes, which are shown in bold.<\/p>\n<div class=\"indent\">\n<pre class=\"sbody-pre\">&lt;services&gt;\r\n          &lt;service\r\n                name=\"Microsoft.UpdateServices.Internal.Client\"\r\n                behaviorConfiguration=\"ClientWebServiceBehaviour\"&gt;<\/pre>\n<pre class=\"sbody-pre\"><strong>               &lt;!-- \r\n                  These 4 endpoint bindings are required for supporting both http and https\r\n                --&gt;\r\n                &lt;endpoint address=\"\"\r\n                        binding=\"basicHttpBinding\"\r\n                        bindingConfiguration=\"SSL\"\r\n                        contract=\"Microsoft.UpdateServices.Internal.IClientWebService\" \/&gt;\r\n                &lt;endpoint address=\"secured\"\r\n                        binding=\"basicHttpBinding\"\r\n                        bindingConfiguration=\"SSL\"\r\n                        contract=\"Microsoft.UpdateServices.Internal.IClientWebService\" \/&gt;<\/strong><\/pre>\n<pre class=\"sbody-pre\">               &lt;endpoint address=\"\"\r\n                        binding=\"basicHttpBinding\"\r\n                        bindingConfiguration=\"ClientWebServiceBinding\"\r\n                        contract=\"Microsoft.UpdateServices.Internal.IClientWebService\" \/&gt;\r\n                &lt;endpoint address=\"secured\"\r\n                        binding=\"basicHttpBinding\" \r\n                        bindingConfiguration=\"ClientWebServiceBinding\"\r\n                        contract=\"Microsoft.UpdateServices.Internal.IClientWebService\" \/&gt;\r\n          &lt;\/service&gt;\r\n    &lt;\/services&gt;<\/pre>\n<\/div>\n<p>Add the <span class=\"text-base\">multipleSiteBindingsEnabled=&#8221;true&#8221;<\/span> attribute to the bottom of the Web.Config file, as shown:<\/p>\n<div class=\"indent\">\n<pre class=\"sbody-pre\">&lt;\/bindings&gt;\r\n&lt;serviceHostingEnvironment aspNetCompatibilityEnabled=\"true\" multipleSiteBindingsEnabled=\"true\" \/&gt;\r\n&lt;\/system.serviceModel&gt;<\/pre>\n<\/div>\n<p>Links:<br \/>\n<a href=\"https:\/\/nhogarth.net\/2016\/09\/13\/scan-failed-with-error-0x80244019\/\">https:\/\/nhogarth.net\/2016\/09\/13\/scan-failed-with-error-0x80244019\/<\/a><br \/>\n<a href=\"http:\/\/thedesktopteam.com\/raphael\/sccm-2012-scan-failed-with-error-0x80244019\/\">http:\/\/thedesktopteam.com\/raphael\/sccm-2012-scan-failed-with-error-0x80244019\/<\/a><br \/>\n<a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/900935\">https:\/\/support.microsoft.com\/en-us\/kb\/900935<\/a><br \/>\n<a href=\"https:\/\/social.technet.microsoft.com\/Forums\/en-US\/3b85e68e-7ab5-4935-9221-40973487ecae\/software-updates-deployment-fails-after-enabling-https-scan-failed-with-error-0x80244019\">https:\/\/social.technet.microsoft.com\/Forums\/en-US\/3b85e68e-7ab5-4935-9221-40973487ecae\/software-updates-deployment-fails-after-enabling-https-scan-failed-with-error-0x80244019<\/a><br \/>\n<a href=\"https:\/\/support.microsoft.com\/en-au\/kb\/3159706\">https:\/\/support.microsoft.com\/en-au\/kb\/3159706<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After I have enabled HTTPS on every SCCM 1606 component all my windows update client just suddenly stopped working. Windows Update check stopped with &#8220;0x80244019&#8221; WindowsUpdate.log on a client side: 2016\/11\/21 13:13:00.7947333 1396 5228 WebServices Auto proxy settings for this web service call. 2016\/11\/21 13:13:00.8137726 1396 5228 WebServices Auto proxy settings for this web service [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[231],"tags":[209,210,234,208,14,11],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts\/664"}],"collection":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/comments?post=664"}],"version-history":[{"count":1,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts\/664\/revisions"}],"predecessor-version":[{"id":665,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/posts\/664\/revisions\/665"}],"wp:attachment":[{"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/media?parent=664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/categories?post=664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trichev.com\/blog\/wp-json\/wp\/v2\/tags?post=664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}