while deploy code on azure app services i am getting thumbprint not print but i already upload the pfx .certificate https://prnt.sc/m3KtTR3G9n7u
Application '/LM/W3SVC/803387773/ROOT' with physical root 'C:\home\site[wwwroot'](http://wwwroot'](http://wwwroot')) has exited from Program.Main with exit code = '1'. First 30KB characters of captured stdout and stderr logs:
[06:12:29 INF] Starting AllSolutions.HttpApi.Host.
[06:12:33 FTL] Host terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.Exception: Certificates with thumbprint 12628162A04D138E340060A74DD17A3E41C8FF0B was not found.
at AllSolutions.AllSolutionsHttpApiHostModule.LoadCertidficateWindows(String thumbprint) in D:\AllSolutions\aspnet-core\src\AllSolutions.HttpApi.Host\AllSolutionsHttpApiHostModule.cs:line 211
at AllSolutions.AllSolutionsHttpApiHostModule.<>c__DisplayClass0_0.b__2(OpenIddictServerBuilder builder) in D:\AllSolutions\aspnet-core\src\AllSolutions.HttpApi.Host\AllSolutionsHttpApiHostModule.cs:line 94
at Volo.Abp.Options.PreConfigureActionList1.Configure(TOptions options) at Microsoft.Extensions.DependencyInjection.ServiceCollectionPreConfigureExtensions.ExecutePreConfiguredActions[TOptions](IServiceCollection services, TOptions options) at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.<>c__DisplayClass1_0.<AddOpenIddictServer>b__0(OpenIddictServerBuilder builder) at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action
1 configuration)
at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.AddOpenIddictServer(IServiceCollection services)
at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.ConfigureServices(ServiceConfigurationContext context)
at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
--- End of inner exception stack trace ---
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
at AllSolutions.Program.Main(String[] args) in D:\AllSolutions\aspnet-core\src\AllSolutions.HttpApi.Host\Program.cs:line 36
Process Id: 2756. File Version: 17.0.22292.0. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: bb01bbf4433e27289b99001b7de6a582879d1835
1 Answer(s)
-
0
hi
Please share the code of the
LoadCertidficateWindows
methodhttps://github.com/openiddict/openiddict-core/issues/976