AddDevelopmentEncryptionAndSigningCertificate should be false if you have called the AddProductionEncryptionAndSigningCertificate
hi
You have called the same code in two place
PreConfigure<OpenIddictBuilder> and PreConfigure<OpenIddictServerBuilder>(
I think you can try to remove the code from PaymentManagementApplicationContractsModule and try again.
The authserver.pfx and openiddict.pfx do the same thing. you can keep the openiddict.pfx and remove the authserver.pfx
hi
Please also share the code of PaymentManagementApplicationContractsModule
the exception is cause by C:\work\PayosGate\PaymentManagement\src\PaymentManagement.Application.Contracts\PaymentManagementApplicationContractsModule.cs:line 67
---> System.Security.Cryptography.CryptographicException: The specified network password is not correct.
at System.Security.Cryptography.X509Certificates.CertificatePal.FilterPFXStore(ReadOnlySpan`1 rawData, SafePasswordHandle password, PfxCertStoreFlags pfxCertStoreFlags)
at System.Security.Cryptography.X509Certificates.CertificatePal.FromBlobOrFile(ReadOnlySpan`1 rawData, String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
at Microsoft.Extensions.DependencyInjection.OpenIddictServerBuilderExtensions.AddProductionEncryptionAndSigningCertificate(OpenIddictServerBuilder builder, String fileName, String passPhrase)
at PaymentManagement.PaymentManagementApplicationContractsModule.<>c.<PreConfigureServices>b__0_2(OpenIddictServerBuilder serverBuilder) in C:\work\PayosGate\PaymentManagement\src\PaymentManagement.Application.Contracts\PaymentManagementApplicationContractsModule.cs:line 67
Please also share the code of PaymentManagementApplicationContractsModule
Does your angular app use https? is the https certificate valid?
https://localhost:4200/ http://localhost:4200/
hi
The current public website only supports MVC.
You can create a microservice app and use angular as UI type. then change this angular app.
hi
Can you share a project to reproduce?
I will download and check it.
liming.ma@volosoft.com