prob with certificate's public/private key
I've installed certificate with private key on my machine. And tried to encrypt and decrypt a file using public/private key(Asymmetric), its happening.
Now when I exported the certificate with public key and encrypt it on different machine using the exported public key, its happening. But when the same encrypted file when tried to decrypt on my machine using associated public key's private key, its giving an error "Bad Data".
If anybody know how to resolve this issue then please share their knowledge.
What I basically want is..
*) Export the certificate onto some other machine, lets say machine 'B', from machine 'A', only with the public key.
*) Encrypt the file using the public key on machine 'B'
*) Decrypt the file using associated public key's private key on machine 'A'.
Thanks & Regards,
Shiby
|