Hi,
I am working on a testing tool and the testing tool asks the user to insert the user certificate in cert format like test.cert format and sends an encrypted attached file to my email id. Once I have received the file I want to download that file and decrypt the file. The file which I receive is named as smime.p7m and I am using p7mviewer to decrypt that file. But the tool is sending a message that the "The private key is not installed in the system". But when I use my own php script and send an encrypted email to my account the p7mviewer is able to decrypt that email. Can anyone tell me what I am doing wrong. From my php script I am not sending an attachment but I am sending an encrypted message to user's email.
Thanks in advance
saadi06
2
Junior Poster in Training
Recommended Answers
Jump to PostIs it using your private, or your public key to encrypt it?
Jump to PostWell, I have to believe that the testing tool is not using your public key, or it is not configured to know where your private key is located.
However, since the p7mviewer is working when you send an encrypted message yourself, but not when the test tool does, I suspect …
All 5 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
saadi06
2
Junior Poster in Training
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
saadi06
2
Junior Poster in Training
CimmerianX
197
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.