title: Security errors while running a newly created Service Fabric app on localhost .NET 6
body: <p>I just created a Stateless ASP.net Core (.NET 6) Service Fabric application and ran it on my local without any configs or changes.</p>
  <p>The app and swagger load eventually without any errors on the explorer but there are several security exceptions in the debug window.</p>
  <p><a href="https://i.stack.imgur.com/ns1B3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ns1B3.png" alt="The errors keep going on" /></a></p>
  <p>I then searched online with one of the error : Win32Exception: An unknown error occurred while processing the certificate localhost</p>
  <p>So I did the following</p>
  <pre><code>dotnet dev-certs https --clean 
  dotnet dev-certs https --trust
  </code></pre>
  <p>But that didn't help, attaching the errors below</p>
  <ol>
  <li><a href="https://i.stack.imgur.com/Ik2Zt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ik2Zt.png" alt="enter image description here" /></a></li>
  <li><a href="https://i.stack.imgur.com/aiNA1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aiNA1.png" alt="enter image description here" /></a></li>
  <li><a href="https://i.stack.imgur.com/XaIEx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XaIEx.png" alt="enter image description here" /></a></li>
  <li><a href="https://i.stack.imgur.com/KqeSX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KqeSX.png" alt="enter image description here" /></a></li>
  </ol>
  <p>I have other Service Fabric solutions which do not have any issues running on my local machine.</p>
  <p>Any idea what's going on here?</p>
  <p>Thanks in advance.</p>