Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A501D357 for ; Wed, 22 May 2013 12:14:25 +0000 (UTC) Received: (qmail 20086 invoked by uid 500); 22 May 2013 12:14:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 19875 invoked by uid 500); 22 May 2013 12:14:24 -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 19806 invoked by uid 99); 22 May 2013 12:14:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 12:14:21 +0000 Date: Wed, 22 May 2013 12:14:21 +0000 (UTC) From: "Pierre-Arnaud Marcelot (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRSERVER-1816) Unable to enable SSL to the APACHE DS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRSERVER-1816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664044#comment-13664044 ] Pierre-Arnaud Marcelot commented on DIRSERVER-1816: --------------------------------------------------- As explained in DIRSERVER-1846, the problem is the syntax used for the 'ads-keystoreFile' attribute type. The current syntax is 'Printable String' which does not allow the back-slash character ('\'). It should probably be changed to 'IA5 String' to allow support of this character. > Unable to enable SSL to the APACHE DS > -------------------------------------- > > Key: DIRSERVER-1816 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1816 > Project: Directory ApacheDS > Issue Type: Task > Components: ldap > Affects Versions: 2.0.0-M10 > Environment: Windows > Reporter: RakeshAcharya > Priority: Blocker > Labels: security > Original Estimate: 24h > Remaining Estimate: 24h > > Below are steps taken to enable SSL > 1. Created a new valid Key pair using Portecle. > 2. Placed the KeyStore in the conf directory > 3. Added the below entry in the conf.ldif file > ads-ldapServerCertificatePassword > ads-ldapServerKeystoreFile > also tried below entries > keystoreFile ,certificatePassword > ads-ldapServerKeystoreFile,ads-ldapServerCertificatePassword > Facing below error while starting the server > Error: > ERR_04447_CANNOT_NORMALIZE_VALUE Cannot normalize the wrapped value ERR_04473_NOT_VALID_VALUE Not a valid value 'C:\Users\rakeshacharya\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.ldapservers\servers\f9ed386b-f8a9-4a79-be12-b5cfabf362be\conf\localhost.jks' for the AttributeType 'ATTRIBUTE_TYPE ( 1.3.6.1.4.1.18060.0.4.1.2.308 > NAME 'ads-keystoreFile' > DESC The keystore file to use to store certificates > EQUALITY caseExactMatch > ORDERING caseExactOrderingMatch > SUBSTR caseExactSubstringsMatch > SYNTAX 1.3.6.1.4.1.1466.115.121.1.44 > SINGLE-VALUE > USAGE userApplications > ERR_04269 ATTRIBUTE_TYPE for OID certificatepassword does not exist -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira