[
https://issues.apache.org/jira/browse/AMQ-4227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claudio Corsi updated AMQ-4227:
-------------------------------
Attachment: server.keystore
client.keystore
ssltruststore.patch
This patch includes a test that executes all three options that a client can
use to import the different stores within a client application.
It also includes one that tests this against the failover protocol.
Note that I have copied the keystores that part of another one of the activemq
modules and have not created any new ones.
> ActiveMQSslConnectionFactory does not allow for regular files to be found
> unless a valid URL is provided or is located on the classpath
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-4227
> URL: https://issues.apache.org/jira/browse/AMQ-4227
> Project: ActiveMQ
> Issue Type: Bug
> Components: JMS client
> Affects Versions: 5.7.0, 5.8.0
> Environment: Any
> Reporter: Claudio Corsi
> Labels: client
> Fix For: 5.8.0
>
> Attachments: client.keystore, server.keystore, ssltruststore.patch
>
>
> The factory class does not allow one to pass a keystore or truststore file
> name that is not a properly formatted URL string or is located within the
> classpath.
> The problem is that the getUrlOrResourceAsStream method does not take into
> account a regular file name.
> The patch includes a fix that provides that ability without removing the
> ability to pass a valid URL string or having the store be located within the
> client classpath.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira