directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sahul <vsahu...@gowebtop.com>
Subject how to store user certificates in apacheds ldap using jndi
Date Thu, 20 Aug 2009 07:30:23 GMT

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

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;

-- 
View this message in context: http://www.nabble.com/how-to-store-user-certificates-in-apacheds-ldap-using-jndi-tp25057284p25057284.html
Sent from the Apache Directory Project mailing list archive at Nabble.com.


Mime
View raw message