Thank you for posting your query on Microsoft Q&A. From above description I could understand that you are getting "keyset does not exist" while trying to authenticate with certificate from Azure Key Vault.
Please do correct me if this is not the case by responding in the comments section.
The error "keyset does not exist" occurs when there is a permission issue on the service account.
- You may need to grant the application access to the private key associated with the certificate.
- Open certificate snap-in in MMC:
WIN
+R
-> typemmc
-> File -> Add/Remove Snap-in -> Add Certificates (Computer Account).- Find your certificate -> Right click and choose All Tasks/Manage Private Keys
- Grant
Read
Permission for Application service account andNETWORK SERVICE
account.
- Grant
- Find your certificate -> Right click and choose All Tasks/Manage Private Keys
- Open certificate snap-in in MMC:
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.