吴长征 2020-04-26 09:53:01 +08:00
parent 2e90e30ac3
commit 00e98ffaa8

@ -0,0 +1,14 @@
错误提示:
```
Microsoft.AspNetCore.Server.Kestrel|Unable to start Kestrel.
Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS
endpoint. No server certificate was specified, and the default developer certif
icate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the c
ertificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?l
inkid=848054.
```
这个问题主要是core项目使用了HTTPS协议但是没有安装相关证书
仔细查看提示执行`dotnet dev-certs https --trust`即可。