Why does Java Mail not work with SSL in JBoss?

Solution Verified - Updated -

Issue

  • Why is my application unable to send email with Java Mail in JBoss?  I see the following exception in my log files:

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

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x

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