Hi guys,

I have some difficulties to make openssl work to crypt my email.


I tried with thoses 3 functions:

openssl_pkcs7_sign  -> Always have this error message: error getting private 
key in C:\wamp\www\opensslencrypt\index.php on line 41

openssl_pkcs7_encrypt -> Always got false as return.


openssl_public_encrypt  -> I have the "encrypted return", but If I send it 
through an email, I'm not sure my client will be able to decrypt it ?


I'm not really sure which one should I use and how..


My client is all set on his receiver side to decrypt the email using outlook 
with the certificate.
I gotta send the crypted mail through PHP using one  of thoses functions.

Can you guys help me out? I'm facing a wall right now.

Thx a lot
JM

Reply via email to