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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content