title: Visual Studio 2019 + IIS Express 10 "Cert refused error" (won't run TLS 1.2)
body: <p>Installed VS2019 on Windows 7.
  Created ASP.NET web application from template.
  Do nothing.
  Run project &quot;IIS Express + FireFox&quot;
  Get message about installing development certificate and running site under HTTPS
  Accept certificate and IIS starts site on https://localhost:43315</p>
  <p>Get error from browser Error code: SSL_ERROR_UNSUPPORTED_VERSION</p>
  <p>Switching to Edge, I get NET::ERR_SSL_OBSOLETE_VERSION</p>
  <p>Have tried :</p>
  <p><a href="https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-troubleshoot" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-troubleshoot</a></p>
  <p><a href="https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2-client</a></p>
  <p><a href="https://support.microsoft.com/en-gb/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-wi" rel="nofollow noreferrer">https://support.microsoft.com/en-gb/help/3140245/update-to-enable-tls-1-1-and-tls-1-2-as-default-secure-protocols-in-wi</a></p>
  <p><a href="https://www.pluralsight.com/guides/visual-studio-2017-resolving-ssl-tls-connections-problems-with-iis-express" rel="nofollow noreferrer">https://www.pluralsight.com/guides/visual-studio-2017-resolving-ssl-tls-connections-problems-with-iis-express</a></p>
  <p>But have had no luck.</p>
  <p>So as far as I can see:</p>
  <ol>
  <li>I have a cert</li>
  <li>The site is running on the right port range</li>
  <li>Checking all the registry values (and many reboots) suggests TLS 1.2 is available.</li>
  </ol>
  <p>so what's wrong ?</p>
  <p>Thanks in advance all.</p>