title: How to force Visual Studio to re-create the SSL certificate for a .NET Core Web Application running Kestrel?
body: <p>When a web project is created, Visual Studio automatically generates a SSL certificate and prompts you to install it. Everything works fine.</p>
  <p>That certificate has now expired and I cannot figure out how to get it to re-generate one and start the process over again. I've tried deleting all existing <code>localhost</code> certificates from the certificate store and deleting secrets.json, but nothing seems to force it to re-start the generation process.</p>