Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 02355200BA7 for ; Thu, 6 Oct 2016 19:15:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 00D7D160AC5; Thu, 6 Oct 2016 17:15:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 46D3E160AED for ; Thu, 6 Oct 2016 19:15:22 +0200 (CEST) Received: (qmail 44182 invoked by uid 500); 6 Oct 2016 17:15:20 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 44024 invoked by uid 99); 6 Oct 2016 17:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2016 17:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 963922C0D53 for ; Thu, 6 Oct 2016 17:15:20 +0000 (UTC) Date: Thu, 6 Oct 2016 17:15:20 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSTUDIO-1120) Checkbox active protocols MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 06 Oct 2016 17:15:23 -0000 [ https://issues.apache.org/jira/browse/DIRSTUDIO-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15552550#comment-15552550 ] Emmanuel Lecharny commented on DIRSTUDIO-1120: ---------------------------------------------- You are right ! http://svn.apache.org/r1668692 : {noformat} "+ setProtocol( tlsv1_2Checkbox.getSelection(), "TLSV1.2" );" {noformat} Should be easy to fix. > Checkbox active protocols > ------------------------- > > Key: DIRSTUDIO-1120 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1120 > Project: Directory Studio > Issue Type: Bug > Components: studio-apacheds-configuration > Affects Versions: 2.0.0-M10 (2.0.0.v20151221-M10) > Environment: jdk1.8.0_102, Windows 7 (Client), Windows2008R2 (Server), ApacheDS M21, Apache DS-Studio 2.0.0-M10 > Reporter: Stefan Humbold > > Hello, > i have a problem with the checkbox for active protocols (TLSv1.0, TLSv1.1, TLSv1.2 etc.). > When i use this option (for example with TLSv1.2) i get the following warning in the apache-ds log, when i try to open a ldaps-connection. > [2016-10-05 16:51:46,017] WARN [org.apache.mina.util.DefaultExceptionMonitor] - Unexpected exception. > org.apache.mina.core.filterchain.IoFilterLifeCycleException: onPreAdd(): sslFilter:SslFilter in (0x00000001: nio socket, server, /2.59.20.52:56094 => /2.59.39.41:636) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:383) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.addLast(DefaultIoFilterChain.java:189) > at org.apache.mina.core.filterchain.DefaultIoFilterChainBuilder.buildFilterChain(DefaultIoFilterChainBuilder.java:436) > at org.apache.mina.core.polling.AbstractPollingIoProcessor.addNow(AbstractPollingIoProcessor.java:536) > at org.apache.mina.core.polling.AbstractPollingIoProcessor.handleNewSessions(AbstractPollingIoProcessor.java:510) > at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:68) > at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1121) > at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.IllegalArgumentException: TLSV1.2 > at sun.security.ssl.ProtocolVersion.valueOf(ProtocolVersion.java:187) > at sun.security.ssl.ProtocolList.convert(ProtocolList.java:84) > at sun.security.ssl.ProtocolList.(ProtocolList.java:52) > at sun.security.ssl.SSLEngineImpl.setEnabledProtocols(SSLEngineImpl.java:2081) > at org.apache.mina.filter.ssl.SslHandler.init(SslHandler.java:176) > at org.apache.mina.filter.ssl.SslFilter.onPreAdd(SslFilter.java:427) > at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:381) > ... 10 more > I think the Problem ist the Attribute ads-enabledprotocols in the Entry DN: ads-transportid=ldaps,ou=transports,ads-serverid=ldapServer,ou=servers,ads-directoryserviceid=default,ou=config > I think the attribute-value should be "TLSv1.2" and not "TLSV1.2" (and TLSv1.1 etc.). > Propably the problem is in the class LdapLdapsServersPage: > setProtocol( tlsv1_2Checkbox.getSelection(), "TLSV1.2" ); -- This message was sent by Atlassian JIRA (v6.3.4#6332)