"The key does not exist." I know that there are tons of questions about this error, but mine is completely different.
I do not use the key from the Windows certificate store, but it downloads the public key and private key from 2 bare lines using the "fromXMLString" method.
rsa.fromXMLString "<RSAKeyValue><Modulus>......"
then
rsa.SignData buffer, algSHA1
and Booom !: "The key does not exist"
Can someone tell me that using the rsa key pair from 2 xmlStrings is innocent and completely not relevant to the Windows certificate store? I have my own approach to storing and loading certificates / keys.
PS: Other answers to questions about this error made the questionnaire set the correct permission for the private key in the cert-store. But in my case, I did not use the private key file in this store, right?
source
share