JBoss BPM Suite KeyStore not found when using HttpClient from EAP

Solution In Progress - Updated -

Issue

We have some code that is settings the following system properties (javax.net.ssl.keyStore, javax.net.ssl.keyStorePassword, javax.net.ssl.trustStore, javax.net.ssl.trustStorePassword) and performing a REST call using two-way SSL. This code works just fine in a java SE environment, but when we deploy the code and execute it within a process diagram it fails. We have set javax.net.debug to "all" to see the ssl logging messages. When we run the code in the jvm outside of EAP, the logging messages confirm that the keyStore and trustStore are found and parsed correctly. However the same code in EAP fails to find the keyStore. So when the client inside of EAP gets the server certificate from our REST server it fails to find a certificate to send back (this certificate lives in the keyStore).

Also, we tried executing the code with an incorrect path specified in the javax.net.ssl.keyStore system property. When running outside of EAP there is an error thrown because the file is not found. When running the code inside of EAP there is no error thrown.

Environment

Red Hat JBoss BPM Suite
6.0.3

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