title: WinRm - Cannot create a WinRM listener on HTTPS due to incorrect SSL certificate
body: <p>I want to use WinRM with https transport. I've bought a Comodo certificate (the error states I cannot use a self-signed certificate) with the Subject matching my FQDN (Full computer name in System) of my Windows 10 computer (not domain joined):</p>
  <pre><code>CN = my.domain.net 
  OU = PositiveSSL 
  OU = Domain Control Validated
  </code></pre>
  <p>When trying to create a https listener with the following command:</p>
  <blockquote>
  <p>WinRm quickconfig -transport:https</p>
  </blockquote>
  <p>I get the error message:</p>
  <blockquote>
  <p>Error number:  -2144108267 0x80338115
  Cannot create a WinRM listener on HTTPS because this machine does not have an appropriate certificate. To be used for SSL, a certificate must have a CN matching the hostname, be appropriate for Server Authentication, and not be expired, revoked, or self-signed.</p>
  </blockquote>
  <p>I've installed (doubleclick the *.crt file) the certificate in several stores (local machine / personal and Trusted Root Certification Authorities) but WinRM fails to create the https listener. The http listener is working OK.</p>
  <p>Some extra info: When using certreq to try to install the <code>*.cer</code> certificate, I get the error:</p>
  <blockquote>
  <p>Element not found. 0x80070490 (WIN32: 1168 ERROR_NOT_FOUND)</p>
  </blockquote>
  <p>How do I get WinRM working with https?</p>