Solved

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

Posted on 2010-09-03
2
768 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
[X]
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
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

729 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