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.

Reply via email to