I'm following this solution to use certificate for my Webassembly project. InvalidOperationException: Key type not specified. Microsoft.AspNetCore.ApiAuthorization.IdentityServer.ConfigureSigningCredentials.LoadKey()
If I use a self certificate it will works fine but I need of a C.A. certificate and I created it with Let's Encrypt. How can I add LetsEncrypt certificate into appsettings.json? My new certificate hasn't password so the code below not works.
"IdentityServer": {
"Key": {
"Type": "File",
"FilePath": "C:\cert.pfx",
"Password": "password123"
}
}
Can someone help me, please?