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 9A490200C19 for ; Sun, 29 Jan 2017 02:42:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 98DDE160B5D; Sun, 29 Jan 2017 01:42:43 +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 E18FC160B51 for ; Sun, 29 Jan 2017 02:42:42 +0100 (CET) Received: (qmail 50413 invoked by uid 500); 29 Jan 2017 01:42:42 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 50402 invoked by uid 99); 29 Jan 2017 01:42:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jan 2017 01:42:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4A144C05D7 for ; Sun, 29 Jan 2017 01:42:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.473 X-Spam-Level: * X-Spam-Status: No, score=1.473 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id bLZfGmVene3e for ; Sun, 29 Jan 2017 01:42:37 +0000 (UTC) Received: from zmcc-5-mx.zmailcloud.com (zmcc-5-mx.zmailcloud.com [192.198.93.228]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id BEF225FB79 for ; Sun, 29 Jan 2017 01:42:36 +0000 (UTC) Received: from zmcc-5-mta-1.zmailcloud.com (127.37.197.104.bc.googleusercontent.com [104.197.37.127]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zmcc-5-mx.zmailcloud.com (Postfix) with ESMTPS id 768E752025C for ; Sat, 28 Jan 2017 20:42:30 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTP id 28933C298E for ; Sat, 28 Jan 2017 19:42:30 -0600 (CST) Received: from zmcc-5-mta-1.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-5-mta-1.zmailcloud.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id dzjcmO7mGf_N for ; Sat, 28 Jan 2017 19:42:29 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTP id AD9DAC2990 for ; Sat, 28 Jan 2017 19:42:29 -0600 (CST) X-Virus-Scanned: amavisd-new at zmcc-5-mta-1.zmailcloud.com Received: from zmcc-5-mta-1.zmailcloud.com ([127.0.0.1]) by localhost (zmcc-5-mta-1.zmailcloud.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id G_JAb2F7DM-a for ; Sat, 28 Jan 2017 19:42:29 -0600 (CST) Received: from MacBook-Pro.local (LFbn-1-822-212.w86-246.abo.wanadoo.fr [86.246.56.212]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTPSA id 632EDC298E for ; Sat, 28 Jan 2017 19:42:29 -0600 (CST) Subject: Re: starting apacheDS embedded instance with SSL support To: users@directory.apache.org References: From: =?UTF-8?Q?Emmanuel_L=c3=a9charny?= Message-ID: Date: Sun, 29 Jan 2017 02:42:28 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable archived-at: Sun, 29 Jan 2017 01:42:43 -0000 Le 27/01/2017 =C3=A0 23:06, Sathyanarayan, Harish a =C3=A9crit : > Hi, > > I am running an embedded ApacheDS instance with SSL using the below cod= e but am getting SSL handshake error, what am I missing? Pls advice.. tha= nks What is the handshake error you get ? have you tried runing the server using the addition parameter -Djavax.net.debug=3Dssl:handshake:verbose ? > > ldapServer.setKeystoreFile("keystore.ks"); > ldapServer.setCertificatePassword("secret"); > ldapServer.loadKeyStore(); > > ldapServer.addExtendedOperationHandler(new StartTlsHandler()); > ldap.setEnableSSL(true); > > > > > --=20 Emmanuel Lecharny Symas.com directory.apache.org