Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1761

Unable to use external keystore for SSL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0-M8
    • 2.0.0-M16
    • ldap
    • - Microsoft Windows XP Professionnal Version 2002 SP3
      - java version "1.6.0_32"
      - Java(TM) SE Runtime Environment (build 1.6.0_32-b05)
      - Java HotSpot(TM) Client VM (build 20.7-b02, mixed mode, sharing)

    Description

      When I try to add the following attributs :

      • ads-ldapServerKeystoreFile
      • ads-ldapservercertificatepassword

      to :

      -ads-serverId=ldapServer,ou=servers,ads-directoryServiceId=default,ou=config

      I get this kind of exception :

      [2012-11-09 15:21:48] WARN [org.apache.directory.shared.ldap.model.entry.DefaultEntry] - The attribute 'ads-ldapservercertificatepassword' cannot be stored
      [2012-11-09 15:21:48] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start the service.
      org.apache.directory.shared.ldap.model.exception.LdapOtherException: ERR_04269 ATTRIBUTE_TYPE for OID ads-ldapservercertificatepassword does not exist!
      at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:77)
      at org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:284)
      at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:166)
      at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
      at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
      Caused by: org.apache.directory.shared.ldap.model.exception.LdapNoSuchAttributeException: ERR_04269 ATTRIBUTE_TYPE for OID ads-ldapservercertificatepassword does not exist!
      at org.apache.directory.shared.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:317)
      at org.apache.directory.shared.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:47)
      at org.apache.directory.shared.ldap.schemamanager.impl.DefaultSchemaManager.lookupAttributeTypeRegistry(DefaultSchemaManager.java:1623)
      at org.apache.directory.shared.ldap.model.entry.DefaultEntry.<init>(DefaultEntry.java:310)
      at org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.loadEntries(SingleFileLdifPartition.java:163)
      at org.apache.directory.server.core.partition.ldif.SingleFileLdifPartition.doInit(SingleFileLdifPartition.java:123)
      at org.apache.directory.server.core.api.partition.AbstractPartition.initialize(AbstractPartition.java:72)
      ... 4 more
      Caused by: org.apache.directory.shared.ldap.model.exception.LdapException: ERR_04269 ATTRIBUTE_TYPE for OID ads-ldapservercertificatepassword does not exist!
      at org.apache.directory.shared.ldap.model.schema.registries.DefaultSchemaObjectRegistry.lookup(DefaultSchemaObjectRegistry.java:176)
      at org.apache.directory.shared.ldap.model.schema.registries.DefaultAttributeTypeRegistry.lookup(DefaultAttributeTypeRegistry.java:313)
      ... 10 more

      However it works fine in the apache directory studio with a previous version of the apache directory.

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            demaret.stephane Stéphane Démaret
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: