Solved

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

Posted on 2010-09-03
2
764 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

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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