title: VBA: An error occurred in the secure channel support
body: <p>I have a code in VBA that worked perfectly for a long time. Suddenly it stopped working for no reason. Nothing has changed on my side.</p>
  
  <p>I use it to download web pages and store them in strings like this:</p>
  
  <pre><code>Function something() As String
  URL = "www..."
  Set XMLHTTP = CreateObject("WinHttp.WinHttpRequest.5.1")
  XMLHTTP.Open "GET", URL, False
  XMLHTTP.send
  something = XMLHTTP.responseText
  End Function
  </code></pre>
  
  <p>at XMLHTTP.send I get the following error:
  <strong>Run-time error '-2147012739 (80072f7d)': An error occurred in the secure channel support</strong></p>
  
  <p>Whats is the meaning of this error and what can be done?</p>
  
  <p>I tried reading about it but it seems that its a generic error and could be many things. Perhaps Microsoft changed some protocols or something similar?</p>