Java application throws SSL/TLS exception: SSLHandshakeException: "unable to find valid certification path to requested target"

Solution Verified - Updated -

Issue

  • SSL/TLS Connection fails and log has this error:

    javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: PKIX path building failed: 
    sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Red Hat JBoss Fuse
  • Java application attempting to make a SSL/TLS connection

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