hi
getting an error that says that we need to login in order to run the application.
Can you share the details of the error?
Thanks.
it’s caused by ABP 8 ExtraProperties column is not null, but our existing data has Null value column.
hi
https://abp.io/support/questions/7232/Running-DBMigrator-in-a-Machine-with-sql-server-2012#answer-3a12b26b-f0e6-38b0-d291-a8801c0b149e
hi
It seems you are using lower SQL server version. You can try to set the CompatibilityLevel as 120 and try again: https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-8.0/breaking-changes#mitigations
sorry for that
Can you try to use the
X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.PersistKeySet
Or
X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.EphemeralKeySet
hi
it takes more time for the UI to load (takes around 5 mins to load the login page)
Can you check and share the logs.txt to see what step is slow?
Thanks.
hi
But this extension method has three arguments. You can copy the source code of this method.
using System.IO;
using System.Security.Cryptography.X509Certificates;
namespace Microsoft.Extensions.DependencyInjection;
public static class OpenIddictServerBuilderExtensions
{
public static OpenIddictServerBuilder AddProductionEncryptionAndSigningCertificate(this OpenIddictServerBuilder builder, string fileName, string passPhrase, X509KeyStorageFlags? flag = null)
{
if (!File.Exists(fileName))
{
throw new FileNotFoundException($"Signing Certificate couldn't found: {fileName}");
}
var certificate = flag != null
? new X509Certificate2(fileName, passPhrase, flag.Value)
: new X509Certificate2(fileName, passPhrase);
builder.AddSigningCertificate(certificate);
builder.AddEncryptionCertificate(certificate);
return builder;
}
}
hi
Try to specify the X509KeyStorageFlags
serverBuilder.AddProductionEncryptionAndSigningCertificate("openiddict.pfx", "bf6bc8cb-7dd5-43bc-beba-c5bbaf0f78a4", X509KeyStorageFlags.PersistKeySet | X509KeyStorageFlags.MachineKeySet | X509KeyStorageFlags.EphemeralKeySet);
hi
You can use your openiddict.pfx file.
dotnet dev-certs https -v -ep openiddict.pfx -p 00000000-0000-0000-0000-000000000000
See https://abp.io/docs/latest/deployment/configuring-openiddict