Re: CAPICOM.EnvelopedData decrypt: where to put certificate?



ralpher
07-09-2005, 11:54 PM
The EnvelopedData.Decrypt command shows such error message when the
private key of the Certificate is not accessible either because the
certificate is not well installed or it is corrupt.

To see this you may add this code to your program>

if Certificate.PrivateKey.IsAccessible = true then
Alert("The private Key is Accesible")
else
Alert("The private Key is not Accesible")
end if

This code comes with CAPICOM package from microsoft (SDK Downloads)

Try re-installing the certificate without checking any extra security
box the process shows you and check your private key is accessible
before anything else.

I fixed the same problem this way.

regards.



--
ralpher
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message316097.html


Re: CAPICOM.EnvelopedData decrypt: where to put certificate?