[ https://issues.apache.org/jira/browse/PROTON-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720937#comment-17720937 ]
Timothy A. Bish commented on PROTON-2727: ----------------------------------------- You can implement that yourself as the SslOptions allow you to provide an SSLContext that will override anything the client would do normally. You can load the resources you want and create a context prior to configuring the connection and the client will just use what you gave it. > 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 > Priority: Minor > > 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org