Langsung ke konten utama

Postingan

Menampilkan postingan dari 2019

Solve Error : Microsoft.AspNetCore.Server.Kestrel[0] Unable to start Kestrel.System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.

Hello all dev.. How are you? i hope we fine anywhere and anytime, Okay, i will share my step to solve this error. I use .Net Core 2.1.3 preview, i use macbook, when i run "dotnet run" i get error "Microsoft.AspNetCore.Server.Kestrel[0]       Unable to start Kestrel. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found. To install the developer certificate first install the dev-certs tool by running 'dotnet install tool dotnet-dev-certs -g --version 2.1.0-preview1-final' and then run 'dotnet-dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet-dev-certs https --trust'." so, i search from internet, and i run this command "dotnet dev-certs https --clean" but i still get error, finally, i re-create a new cert, this is my step for solve it : dotnet install tool dotnet-dev-certs -g -...