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-04-15 19:18:09 +08:00
```console
dotnet dev-certs https --trust
```
2019-02-27 07:04:59 +08:00
2019-04-15 19:18:09 +08:00
The preceding command displays the following dialog:
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.