2019-04-15 19:18:09 +08:00
* Trust the HTTPS development certificate by running the following command:
2019-02-27 07:04:59 +08:00
2019-09-18 05:01:04 +08:00
```dotnetcli
2019-04-15 19:18:09 +08:00
dotnet dev-certs https --trust
```
2019-08-13 23:59:28 +08:00
The preceding command doesn't work on Linux. See your Linux distribution's documentation for trusting a certificate.
2019-02-27 07:04:59 +08:00
2021-08-25 12:08:19 +08:00
The preceding command displays the following dialog, provided the certificate was not previously trusted:
2019-02-27 07:04:59 +08:00
2019-04-15 19:18:09 +08:00
![Security warning dialog ](~/getting-started/_static/cert.png )
2019-02-27 07:04:59 +08:00
2019-04-15 19:18:09 +08:00
* Select **Yes** if you agree to trust the development certificate.
2019-02-27 07:04:59 +08:00
2019-04-15 19:18:09 +08:00
See [Trust the ASP.NET Core HTTPS development certificate ](xref:security/enforcing-ssl#trust-the-aspnet-core-https-development-certificate-on-windows-and-macos ) for more information.
2020-11-18 01:13:00 +08:00
[!INCLUDE[trust FF ](~/includes/trust-ff.md )]