How to store keystores in profile and accessing it in Spring context ?

Solution Unverified - Updated -


  • We noticed that the mq-default profile has file with property keystore.url=profile\:keystore.jks.
  • We would like to also place our keystores in our profiles and be able to access them from our Spring config.
  • We have defined the property in a property file in the profile like this:
  • And this is propagated to the Spring context and used with the following:
<sec:keyManagers keyPassword="changeit">
    <sec:keyStore type="JKS" password="changeit" file="${keystore}"/>
  • But we get profile:keystore.jks


  • Red Hat JBoss Fuse
    • 6.2.0

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