AspNetCore.Docs/aspnetcore/includes/trustCertVSC.md

730 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, provided the certificate was not previously trusted:

    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.

[!INCLUDEtrust FF]