How to add custom truststore in JBoss S2I during Galleon build ?

Solution Unverified - Updated -

Issue

  • How to add custom truststore -Djavax.net.ssl.trustStore in JBoss S2I during Galleon build ?
  • How to add certificates in the truststore during JBoss S2I Galleon build ?
  • We are using maven build with MAVEN_ARGS_APPEND argument. We have added the custom truststore -Djavax.net.ssl.trustStore to the MAVEN_ARGS_APPEND. The build fails during Galleon build due to missing truststore.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.4
  • Red Hat OpenShift Container Platform (OCP)
    • 4.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