Click here to Skip to main content
15,947,411 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i'm trying to encrypt a email message using a x509 certificate and decrypt it using ms outlook. the message sends but it shows encrypted text. i already loaded the p12 into outlook.

what can i do differently so it shows the decrypted message?

these are the files im using, php and x509 and p12

i used commands like these to make the certs

make 509
openssl req -new -x509 -keyout private/cakey.pem -out cacert.pem -days 365 -config openssl.cnf

convert to pk12
openssl pkcs12 -export -in my.crt -inkey my.key -out my.p12
Updated 18-Oct-11 10:16am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900