Search code examples
.net-coreazure-web-app-service.net-5kestrel

Unhandled exception. Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found


I published my API service application to Azure cloud. I went into Azure api service console and tried tor run my service. Nevertheless i faced such error:

Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found

I was trying to follow the possible solutions from this topic:

Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found

I tried every given solution out of it like removing certificates, running dotnet commands etc but i still got this error and don't know what more can be done here. I am really stack on it. Can anyone help me out?


Solution

  • Hope the suggested solution by Maarten Dev has resolved your issue. I am converting this as an answer to help the other community members.

    You can enable logging in the WebApp > Monitoring > App Service Logs blade. You can then view the logs using WebApp> Monitoring > Log Stream or by viewing the logs using FTP/Blob