directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@apache.org>
Subject Re: how to store user certificates in apacheds ldap using jndi
Date Thu, 20 Aug 2009 07:37:29 GMT
sahul wrote:
> hi i am trying to store user certificate for a user in apacheds using the
> below statement
>
> File usercertFile=new File("C:/Documents and
> Settings/Desktop/Certificates/aaa.cer");
> attributes.put("userCertificate",usercertFile);
>   
use "userCertificate;binary". It may work better.
> when i use the above statement i am getting the
> InvalidAttributeValueException
> For adding the cn,sn attributes i am using the same statement
> attributes.put("sn",surname); which is working fine. I am giving the error
> consolee message below
>
> Operation failed: javax.naming.directory.InvalidAttributeValueException:
> Malformed 'userCertificate' attribute value;
>
>   


-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message