git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@947974
13f79535-47bb-0310-9956-
ffa450edef68
tomcat.getConnector().setAttribute("allowUnsafeLegacyRenegotiation", "true");
tomcat.start();
+
+ String protocol = tomcat.getConnector().getProtocolHandlerClassName();
+ if (protocol.indexOf("Apr") != -1) {
+ return; // Not supported yet (10/05/25)
+ }
+
SSLContext sslCtx = SSLContext.getInstance("TLS");
sslCtx.init(null, trustAllCerts, new java.security.SecureRandom());
SSLSocketFactory socketFactory = sslCtx.getSocketFactory();