Why does Java Mail not work with SSL in JBoss after upgrading to 5.x?

Solution Verified - Updated -

Issue

  • I upgraded from EAP 4.3 to 5.1 and my application is no longer able to send emails.  The same SSL certificates work in EAP 4.3.  However, I see the following exception on EAP 5.1.

    java.io.IOException: Can't verify identity of server: smtpserver.test.redhat.com
    

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.