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 1AD3B200D12 for ; Sat, 7 Oct 2017 19:57:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 194011609DF; Sat, 7 Oct 2017 17:57:24 +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 36F421609DA for ; Sat, 7 Oct 2017 19:57:23 +0200 (CEST) Received: (qmail 89018 invoked by uid 500); 7 Oct 2017 17:57:22 -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 89003 invoked by uid 99); 7 Oct 2017 17:57:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Oct 2017 17:57:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 43142180633 for ; Sat, 7 Oct 2017 17:57:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 7eyUftVmzEId for ; Sat, 7 Oct 2017 17:57:18 +0000 (UTC) Received: from zmcc-5-mx.zmailcloud.com (zmcc-5-mx.zmailcloud.com [52.201.171.122]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id C25105FB2E for ; Sat, 7 Oct 2017 17:57:17 +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 AFA344054C for ; Sat, 7 Oct 2017 13:01:01 -0500 (CDT) Received: from zmcc-5-mta-1.zmailcloud.com (localhost [127.0.0.1]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTPS id ABE6DC374E for ; Sat, 7 Oct 2017 12:57:16 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTP id A00EEC374C for ; Sat, 7 Oct 2017 12:57:16 -0500 (CDT) 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 I2ayskCQ7aO7 for ; Sat, 7 Oct 2017 12:57:16 -0500 (CDT) Received: from macbook-pro.home (LFbn-1-817-net.w86-246.abo.wanadoo.fr [86.246.51.0]) by zmcc-5-mta-1.zmailcloud.com (Postfix) with ESMTPSA id 5AC9DC12EB for ; Sat, 7 Oct 2017 12:57:16 -0500 (CDT) Subject: Re: How do I change the default admin private/public key through ApacheDS Studio To: users@directory.apache.org References: From: =?UTF-8?Q?Emmanuel_L=c3=a9charny?= Message-ID: <4e3606fd-4792-5e09-8e7b-e54835d2b074@gmail.com> Date: Sat, 7 Oct 2017 19:57:15 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: quoted-printable archived-at: Sat, 07 Oct 2017 17:57:24 -0000 Le 07/10/2017 =C3=A0 19:08, Ike Ikonne a =C3=A9crit=C2=A0: > Hi Emmanuel, > > I got a stacktrace when a select the Configuration option of the apach= e=20 > DS studio. Which version of Studio and ApacheDS are you using ? > > > Unable to load the configuration. > - ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist! > org.apache.directory.api.ldap.model.exception.LdapNoSuchAttributeExcept= ion:=20 > ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist! > at=20 > org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeT= ypeRegistry.lookup(DefaultAttributeTypeRegistry.java:293) > at=20 > org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeT= ypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47) > at=20 > org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.l= ookupAttributeTypeRegistry(DefaultSchemaManager.java:1604) > at=20 > org.apache.directory.api.ldap.model.entry.DefaultEntry.(DefaultEn= try.java:311) > at=20 > org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigur= ationRunnable.readConfiguration(LoadConfigurationRunnable.java:359) > at=20 > org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigur= ationRunnable.getConfiguration(LoadConfigurationRunnable.java:182) > at=20 > org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigur= ationRunnable.run(LoadConfigurationRunnable.java:127) > at=20 > org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.ja= va:83) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > Caused by: org.apache.directory.api.ldap.model.exception.LdapException:= =20 > ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist! > at=20 > org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObje= ctRegistry.lookup(DefaultSchemaObjectRegistry.java:176) > at=20 > org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeT= ypeRegistry.lookup(DefaultAttributeTypeRegistry.java:289) > ... 8 more > > ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist! > > The version of my apache DS studio is: > > Apache Directory Studio > > Version: 2.0.0.v20130628 > > =C2=A9 2006-2013 Apache Software Foundation - All right reserved. > Visit http://directory.apache.org/studio > > This product is licensed under the terms of the Apache License 2.0. > > Some icons from FAMFAMFAM http://www.famfamfam.com/lab/icons/silk > > > > > From: Emmanuel L=C3=A9charny > To: users@directory.apache.org > Date: 10/07/2017 02:55 AM > Subject: Re: How do I change the default admin private/public ke= y=20 > through ApacheDS Studio > > > > Hi, > > > Le 07/10/2017 =C3=A0 07:08, Ike Ikonne a =C3=A9crit : >> Hi all, >> >> I have been trying to generate and install a new private/public key >> for Apache DS listening on port 636. I generated a private key >> in PKCS8 format and with associated public key signed by the CA, but i= t=20 >> appears >> that the way that I am installing it through Apache DS studio >> is not working. I get Handshake error when I try to connect via >> Apache DS studio on port 636. I would appreciate it if someone could >> enable me with the steps for installing privateKey/Public Key=20 >> for the Apache Directory server via Apache DS studio. > The simplest way would be to set the private key in an external > keystore, as explained in > https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__directory.staging= .apache.org_apacheds_basic-2Dug_3.3-2Denabling-2Dssl.html&d=3DDwIFaQ&c=3D= jf_iaSHvJObTbx-siA1ZOg&r=3DagWnQZZC-kGOwhPE6XrovGlSsnjanlizIW98DPVSs3M&m=3D= tAcHLr7mLU_WskVeqcJbdMQASqhBjL6q3bw5VIEF1xc&s=3DaA4tiT926p4W_V0mkg_eTXpWg= Hv37o6J2XZYtXQYGhM&e=3D > > > You can also store the public and private key in the user's entry > (privateKey and publicKey attributes) but it's less safe. -- > > Emmanuel Lecharny > > Symas.com > directory.apache.org > > > > > > --=20 Emmanuel Lecharny Symas.com directory.apache.org