IdentityServer4 not working in production

后端 未结 3 763
渐次进展
渐次进展 2020-12-11 01:42

I am using IdentityServer4 with React start project from ASP.NET Core 3.0. preview 4 and it works perfectly until I build the solution and try to run it from cmd prompt usin

3条回答
  •  忘掉有多难
    2020-12-11 02:13

    If you want to use *.pfx

    "Key": {
      "Type": "File",
      "FilePath": "certificate.pfx",
      "Password": "password:!"
    }
    

    And read this thread if you have this error WindowsCryptographicException: Keyset does not exist

    internal.cryptography.cryptothrowhelper+windowscryptographicexception keyset does not exist
    

提交回复
热议问题