Hello dev people,
I am facing this issue After deploying the API to a newly created Azure Windows App service "HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure"
Looking up online, i went to Development Tools > Console and tried to run the dll file using dotnet {projectname.dll} and it returned the below error :
Host terminated unexpectedly
System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
and ofcourse i tried to install the certificate using
dotnet dev-certs https --clean
dotnet dev-certs https
dotnet dev-certs https --trust
On running the last 2 commands, i am getting the error:
There was an error saving the HTTPS developer certificate to the current user personal certificate store.
free App Service managed SSL Certificate is already installed on the custom domain that is linked to the api.
I've tried all solutions. Let me know if you guys know how to fix this.