System.Security.Cryptography.CryptographicException: keyset does not exist

前端 未结 8 1465
时光取名叫无心
时光取名叫无心 2020-12-04 09:59

When I make x509 certificate to encypt and decypt message, I got some error information and could not fix this problem. Could someone ever happend to solve this bug? thanks.

8条回答
  •  自闭症患者
    2020-12-04 10:58

    I received same error as OP: "System.Security.Cryptography.CryptographicException: keyset does not exist"

    The resolution (for me) was: Visual Studio needs to be (run as Admin)

    As was explained to me(YMMV), VS needs to be run as Admin in order to extract the certificates private key from the key store, in order to negotiate auth/handshake with keyvault.

提交回复
热议问题