AspNetCore.Docs/aspnetcore/includes/trustCertVSC.md

633 B

  • Trust the HTTPS development certificate by running the following command:

    dotnet dev-certs https --trust
    

    The preceding command doesn't work on Linux. See your Linux distribution's documentation for trusting a certificate.

    The preceding command displays the following dialog:

    Security warning dialog

  • Select Yes if you agree to trust the development certificate.

    See Trust the ASP.NET Core HTTPS development certificate for more information.