Unhandled exception: "System.Security.Cryptography.CryptographicException: Keyset does not existThis is a permissions issue in relation to the certificate used on the identity server. To resolve this issue:
- Open a Command Prompt window.
- Type mmc and press the enter key.
- On the File menu, click Add/Remove Snap In.
- Click Add.
- In the Add Standalone Snap-in dialog box, select Certificates.
- Click Add.
- In the Certificates snap-in dialog box, select Computer account and click Next. Optionally, you can select My User account or Service account. If you are not an administrator of the computer, you can manage certificates only for your user account.
- In the Select Computer dialog box, click Finish.
- In the Add Standalone Snap-in dialog box, click Close.
- On the Add/Remove Snap-in dialog box, click OK.
- In the Console Root window, click Certificates (Local Computer) to view the certificate stores for the computer.
- Locate the certificate used on the identity server site
- Right click the certificate
- Select All Tasks
- Select Manage Private Keys
- Add the identity of the application pool of the identity server and select Ok
The error should no longer occur.
![]() |
Apply permissions to a certificate |
No comments:
Post a Comment