directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ike Ikonne" <iiko...@us.ibm.com>
Subject Re: How do I change the default admin private/public key through ApacheDS Studio
Date Sun, 08 Oct 2017 05:09:05 GMT
Hi Emmanuel,

It is actually included in my last message

The version of my apache DS studio is:

 Apache Directory Studio

 Version: 2.0.0.v20130628

 © 2006-2013 Apache Software Foundation - All right reserved.



From:   Emmanuel Lécharny <elecharny@gmail.com>
To:     users@directory.apache.org
Date:   10/07/2017 12:57 PM
Subject:        Re: How do I change the default admin private/public key 
through ApacheDS Studio





Le 07/10/2017 à 19:08, Ike Ikonne a écrit :
> Hi Emmanuel,
>
> I got  a stacktrace when a select the Configuration option of the apache 

> 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.LdapNoSuchAttributeException: 

> ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist!
>         at 
> 
org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:293)
>         at 
> 
org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47)
>         at 
> 
org.apache.directory.api.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1604)
>         at 
> 
org.apache.directory.api.ldap.model.entry.DefaultEntry.<init>(DefaultEntry.java:311)
>         at 
> 
org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.readConfiguration(LoadConfigurationRunnable.java:359)
>         at 
> 
org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.getConfiguration(LoadConfigurationRunnable.java:182)
>         at 
> 
org.apache.directory.studio.apacheds.configuration.v2.jobs.LoadConfigurationRunnable.run(LoadConfigurationRunnable.java:127)
>         at 
> 
org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:83)
>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: org.apache.directory.api.ldap.model.exception.LdapException: 
> ERR_04269 ATTRIBUTE_TYPE for OID ads-hashalgorithm does not exist!
>         at 
> 
org.apache.directory.api.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176)
>         at 
> 
org.apache.directory.api.ldap.model.schema.registries.DefaultAttributeTypeRegistry.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
>
> © 2006-2013 Apache Software Foundation - All right reserved.
> Visit 
https://urldefense.proofpoint.com/v2/url?u=http-3A__directory.apache.org_studio&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=agWnQZZC-kGOwhPE6XrovGlSsnjanlizIW98DPVSs3M&m=RF_YXJaxihmlWk4tpuiU2YUcioFKndfjXubERLCrarc&s=CxVeUNYueBZDHr4okz-PZDMqurOwj3pJ97hx4vPFby8&e=

>
> This product is licensed under the terms of the Apache License 2.0.
>
> Some icons from FAMFAMFAM 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.famfamfam.com_lab_icons_silk&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=agWnQZZC-kGOwhPE6XrovGlSsnjanlizIW98DPVSs3M&m=RF_YXJaxihmlWk4tpuiU2YUcioFKndfjXubERLCrarc&s=coLTf3H72IYEEl3mlWmr9v7WIX0TJPOp7dMg_38fkIM&e=

>
>
>
>
> From:   Emmanuel Lécharny <elecharny@gmail.com>
> To:     users@directory.apache.org
> Date:   10/07/2017 02:55 AM
> Subject:        Re: How do I change the default admin private/public key 

> through ApacheDS Studio
>
>
>
> Hi,
>
>
> Le 07/10/2017 à 07:08, Ike Ikonne a écrit :
>> 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 it 

>> 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 
>> 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=http-3A__directory.staging.apache.org_apacheds_basic-2Dug_3.3-2Denabling-2Dssl.html&d=DwIFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=agWnQZZC-kGOwhPE6XrovGlSsnjanlizIW98DPVSs3M&m=tAcHLr7mLU_WskVeqcJbdMQASqhBjL6q3bw5VIEF1xc&s=aA4tiT926p4W_V0mkg_eTXpWgHv37o6J2XZYtXQYGhM&e=

>
>
> 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
>
>
>
>
>
>

-- 
Emmanuel Lecharny

Symas.com
directory.apache.org






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message