Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ColdFusion (CFMAIL) won't send embedded image over SSL

Posted on 2010-09-03
2
757 Views
Last Modified: 2012-05-10
Hi-

I have a web server running ColdFusion MX7. One of the main functions of this server is an in-house mail list system. It has a database of contacts and I use CF code to generate emails to clients, etc. The box has a Verisign SSL certificate on it (has for over 3 years) because we use it for other stuff also. I have been using my code with no problems for over 4 years - CFMAIL using CFMAILPARAM to embed images and attach files.

Until my coworker updated the Verisign SSL certificate on the box a few days ago. It now has an Extended Validation certificate on it. And ever since that happend, my CFMAIL code will not embed any images or attach any files to the emails - the emails will not be sent at all. I am using the exact same code I used before -- the only thing that changed on the box was the update of the security certificate.

The CF mail log give me this error:

IOException while sending message; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

I tested sending mail by stripping out all the images and those come through just fine. It is only when I try to embed an image or add an attachment that it doesn't work. Everything runs off the same server - the images and attachments are in the same folder as the CF page that calls them.


I'm getting desparate here. There was a mailing that was supposed to go out yesterday and it didn't and I have to get this working. I'm not well versed on SSL (I don't buy them or install them or anything else). I spent several hours yesterday trying to figure it out and I am so lost. What can I do to get my CFMAIL working again? If anyone can please help me I would so greatly appreaciate it. Thank you so much for at least reading about my problem!

-mhm
0
Comment
Question by:martham
2 Comments
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 33598676
try importing the new cert via keytool

http://kb2.adobe.com/cps/400/kb400977.html
0
 

Author Closing Comment

by:martham
ID: 33599170
THANK YOU!! This is JUST what I needed. Now I know more then I ever wanted to know about the keystore :-)

Took me a little more troubleshooting becuase I had to use a different keystore location (I'm guessing that got mixed up on the CF install years ago) and I had to go to Verisign to export our cert in the X.509 format but I finally got it. Thanks again!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Query help 4 81
Detect and combat possible robot 7 111
Coldfusion scheduled tasks as one task 2 91
dynamic form fields and inserting into database 3 46
Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
This is an updated version of a post made on my blog over 3 years ago. It is unfortunately, still very relevant as we continue to see both SQLi (SQL injection) and XSS (cross site scripting) attacks hitting some of the most recognizable website and …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question