By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,636 Members | 1,814 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,636 IT Pros & Developers. It's quick & easy.

Troubles with CAPICOM EnvelopedData.Decrypt

P: n/a
I use EnvelopedData from CAPICOM library to encrypt and decrypt security
info on my ASP site.
I got and installed test VerySign certificate on my server in Personal
store and successfully encrypt data. As a recipient I used this certificate.
I could successfully encrypt data.
Before decryption i try to check availability of Private key:
1 Property objCertificate.HasPrivateKey() returns TRUE
2 Property objCertificate.PrivateKey.IsAccessible() returns FALSE
To give IIS server privileges to access the private key associated with the
I try to update ACL as it shown in samples\vbs\CSetKeyPerm.vbs but I got an
error message:
(80090016) Keyset does not exist
when i tried to check property objCertificate.PrivateKey.UniqueContainerName

My private key must be contained on folder
Documents and Settings\All Users\Application

Could you help me and explain my mistake
Tell me please, could I decrypt message after I give privileges to IIS_user?
Thank you in advance.
Alexey Pashin

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.