mirror of https://github.com/apache/activemq.git
work around: javax.net.ssl.SSLHandshakeException: renegotiation is not allowed - http://java.sun.com/javase/javaseforbusiness/docs/TLSReadme.html for SslBrokerServiceTest with latest jdk security fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@957916 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb591e7b89
commit
39c536395a
|
@ -57,6 +57,11 @@ public class SslBrokerServiceTest extends TransportBrokerTestSupport {
|
|||
|
||||
@Override
|
||||
protected BrokerService createBroker() throws Exception {
|
||||
|
||||
// http://java.sun.com/javase/javaseforbusiness/docs/TLSReadme.html
|
||||
// work around: javax.net.ssl.SSLHandshakeException: renegotiation is not allowed
|
||||
System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true");
|
||||
|
||||
SslBrokerService service = new SslBrokerService();
|
||||
service.setPersistent(false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue