You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lester Ward (Jira)" <ji...@apache.org> on 2023/05/09 12:57:00 UTC

[jira] [Created] (PROTON-2727) Support reading keystore from class path

Lester Ward created PROTON-2727:
-----------------------------------

             Summary: Support reading keystore from class path
                 Key: PROTON-2727
                 URL: https://issues.apache.org/jira/browse/PROTON-2727
             Project: Qpid Proton
          Issue Type: Improvement
          Components: protonj2
    Affects Versions: protonj2-1.0.0-M15
            Reporter: Lester Ward
            Assignee: Timothy A. Bish


It would be useful if {{ConnectionOptions}} allowed you to supply an SSL keystore from a resource on the classpath in some way. One possibility would be:

{{options.keyStoreLocation("classpath:com/my/thing/ks.p12")}}

Another option would be adding a method to take a stream or bytes or Reader or something instead of {{String}} for this option.

Sadly, {{File}} doesn't handle {{classpath:}} URLs on its own.



--
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