My Azure Web App couldn't find a valid certificate

James Beadle 6 Reputation points
2020-09-23T07:09:20.21+00:00

I created an app managed certificate within the TLS/SSL section of Azure for a Web App and used the bindings section to link it to a custom domain. Now when I publish my app, it launches with the following error (from event logs):

System.InvalidOperationException: Couldn't find a valid certificate with subject 'CN=interax' on the 'CurrentUser\My'
at Microsoft.AspNetCore.ApiAuthorization.IdentityServer.SigningKeysLoader.LoadFromStoreCert(String subject, String storeName, StoreLocation storeLocation, DateTimeOffset currentTime)
at Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ConfigureSigningCredentials.LoadKey()
at Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ConfigureSigningCredentials.Configure(ApiAuthorizationOptions options)
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,662 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.