How to reload keystore and trust store at runtime in EAP 6 and 7 ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.1
Issue
- In JBoss EAP 5 there was an option to
reloadKeyAndTrustStoreusing twiddle/JMX, is there a similar option in JBoss EAP 6 for reloading the certificates at server runtime using JConsole or JBoss CLI ? - How to reload keystore and trust store at runtime for the JBossWeb connector in EAP 6?
- How reload the truststore in EAP 6 without restarting the JBoss?
- How to update the Jboss certificate at runtime ?
- Reload SSL keystore without restart of JBOSS instances
- How to use load keystore and truststore dynamically?
Resolution
-
This is not possible in EAP 6.x. A Request For Enhancement (RFE) has been logged
(PRODMGT-549)and fixed in EAP 7.1, which means it is possible to reload keystore and truststore at runtime using Elytron subsystem link -
To reload a keystore in EAP 7.1 use the below CLI command:
/subsystem=elytron/key-store=httpsKS:load
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
