You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Thierry Mège (Jira)" <ji...@apache.org> on 2025/02/21 13:09:00 UTC

[jira] [Created] (QPIDJMS-607) Allow keystore and truststore loading from system property

Thierry Mège created QPIDJMS-607:
------------------------------------

             Summary: Allow keystore and truststore loading from system property
                 Key: QPIDJMS-607
                 URL: https://issues.apache.org/jira/browse/QPIDJMS-607
             Project: Qpid JMS
          Issue Type: Improvement
          Components: qpid-jms-client
            Reporter: Thierry Mège


I am currently using *transport.keyStoreLocation* and *transport.trustStoreLocation* transport options in connection URI to load my key stores as documented but with virtualization / containerization it is sometime more appropriate to reference them by mean of an in memory variable or system property instead of using a file reference.

It could be very handy to have new transport options to reference system properties containing the base64 definition of those stores (such as {*}transport.{*}{*}keyStoreBase64Property{*} and {*}transport.{*}*trustStoreBase64Property* for instance).

The typical use case would be :
{code:java}
System.setProperty("keyStoreBase64", "<keyStoreContentInBase64Format>")

(...)

String connexionURI = "amqps://some-host:5671?transport.keyStoreBase64Property=keyStoreBase64" {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org