Solved

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

Posted on 2010-09-03
2
747 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
Comment Utility
try importing the new cert via keytool

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

Author Closing Comment

by:martham
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now