title: Error when adding SSL certificate for WebSite binding in IIS
body: <p>When I try to add https binding for my site in IIS I select Binding menu, then certificate that I want to use from drop down list and after I click OK I got an error</p>
  
  <blockquote>
    <p>Error during operation -  A device attached to the system is not functioning (Exception from HRESULT: 0x8007001F)</p>
  </blockquote>
  
  <p>I've tried different certificates also checked that private keys are exportable</p>
  
  <p>For IIS Host I use Windows 10 Pro 1803 and IIS 10.0.17763.1</p>
  
  <p><strong>UPDATE 1</strong></p>
  
  <p>I've also tried adding SSL certificate with </p>
  
  <pre><code>netsh http add sslcert 127.0.0.1:8035 certhash=hash appid={guid fo appid}
  </code></pre>
  
  <p>This approach also returned an error</p>
  
  <blockquote>
    <p>SSL Certificate add failed, Error: 31 A device attached to the system
    is not functioning</p>
  </blockquote>