WindowsCryptographicException: Keyset does not exist

后端 未结 3 1078
再見小時候
再見小時候 2021-02-04 02:07

I want to create or obtain a certificate, create a pfx-file, load it and have IdentityServer use it. However, IdentityServer is not able to use my pfx.

How to successful

3条回答
  •  梦谈多话
    2021-02-04 02:35

    The problem was resolved by adding IIS_IUSR group. From this link Add group IIS_IUSR:

    The problem was that the Permissions for the Private Key of the Certificate in the Windows Certificate Store did not have the IIS_IUSRS group set to allow read access.

    Right click certificate -> All Tasks -> Manage Private Keys -> Add group "IIS_IUSRS"

提交回复
热议问题