My Azure Web App couldn't find a valid certificate
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)