Set correctly appsettings.json.
Two options:
- Create Certificate with password
To generate certificate for JWT signing/verification
openssl.exe" req -newkey rsa:2048 -nodes -keyout serverCore.key -x509 -days 365 -out serverCore.cer
openssl.exe" pkcs12 -export -in serverCore.cer -inkey serverCore.key -out serverCore.pfx
this file must be in root directory and add into appsetings.json
“IdentityServerConfig”: {
“PathToJwtCertificate”: “serverCore.pfx”,
“PasswordForJwtCertificate”: “certificate password”,
- Set this section to empty :
“IdentityServerConfig”: {
“PathToJwtCertificate”: “”,
“PasswordForJwtCertificate”: “”,