title: Trouble trusting local HTTPs certificate in ASP.NET Core
body: <p>I am following an online tutorial to create an ASP.NET Core Web application. I followed everything but had trouble with trusting the local HTTPS certificate.</p>
  <p>When I first run the application, I got an error saying:
  &quot;the access control list (acl) structure is invalid&quot;</p>
  <p>I tried googling this error but couldn't find anything related to my ASP.NET application, after cleaning the solution I didn't get this error any longer.</p>
  <p>But I was unable to run my application in browser using <code>HTTPS</code> as it always says:
  &quot;This site is not secure&quot;</p>
  <p>I tried to trust certificate using CMD using this command:</p>
  <p><code>dotnet dev-certs https --trust</code></p>
  <p>It should show me a prompt to trust the certificate but it says &quot;<em>there was an error trusting the HTTPS developer certificate</em>&quot; and the application runs in an unsafe mode on the browser.</p>
  <p>Can someone please help me run my application with HTTPS on my local environment? Any help will be greatly appreciated. Thanks</p>