- Corrected the path to the keystores.

- Enabled SslTransportBrokerTest

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrian T. Co 2006-03-18 00:25:27 +00:00
parent 4f7235d964
commit 351decc105
2 changed files with 2 additions and 5 deletions

View File

@ -196,9 +196,6 @@
<exclude>**/HttpsTransportBrokerTest.*</exclude> <exclude>**/HttpsTransportBrokerTest.*</exclude>
<exclude>**/HttpTransportBrokerTest.*</exclude> <exclude>**/HttpTransportBrokerTest.*</exclude>
<!-- http://jira.activemq.org/jira/browse/AMQ-629 -->
<exclude>**/SslTransportBrokerTest.*</exclude>
</excludes> </excludes>
</unitTest> </unitTest>

View File

@ -28,10 +28,10 @@ public class SslTransportBrokerTest extends TransportBrokerTestSupport {
} }
protected void setUp() throws Exception { protected void setUp() throws Exception {
System.setProperty("javax.net.ssl.trustStore", "src/test/client.keystore"); System.setProperty("javax.net.ssl.trustStore", "src/test/resources/client.keystore");
System.setProperty("javax.net.ssl.trustStorePassword", "password"); System.setProperty("javax.net.ssl.trustStorePassword", "password");
System.setProperty("javax.net.ssl.trustStoreType", "jks"); System.setProperty("javax.net.ssl.trustStoreType", "jks");
System.setProperty("javax.net.ssl.keyStore", "src/test/server.keystore"); System.setProperty("javax.net.ssl.keyStore", "src/test/resources/server.keystore");
System.setProperty("javax.net.ssl.keyStorePassword", "password"); System.setProperty("javax.net.ssl.keyStorePassword", "password");
System.setProperty("javax.net.ssl.keyStoreType", "jks"); System.setProperty("javax.net.ssl.keyStoreType", "jks");
//System.setProperty("javax.net.debug", "ssl,handshake,data,trustmanager"); //System.setProperty("javax.net.debug", "ssl,handshake,data,trustmanager");