[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unable to add certificate!

At 03:10 AM 2002-01-15, Lui Yeok Peng wrote:
>        i'm using userCertificate;binary attribute to store user certificate into OpenLDAP server, but when i use ldapadd command to do so, an error message "invalid format" comes out, can anybody tell me how to store the certificate into LDAP server?

Try using a valid file:/// URL.  You appear to have forgotten
a colon (:).


>        the LDIF file that i use is as follow :-
>dn: cn=wong3,dc=myca,dc=com
>objectClass: top
>objectClass: person
>objectClass: organizationalPerson
>objectClass: inetOrgPerson
>objectClass: strongAuthenticationUser
>cn: wong3
>cn: kc wong
>sn: Keng Chung
>givenName: Wong
>mail: wkc3@hotmail.com
>initials: wkc
>title: manager, product development
>telephoneNumber: +1 408 555 1862
>facsimileTelephoneNumber: +1 408 555 1992
>mobile: +1 408 555 1941
>roomNumber: 0209
>carLicense: 6ABC246
>departmentNumber: 2604
>employeeNumber: 42
>employeeType: full time
>preferredLanguage: fr, en-gb;q=0.8, en;q=0.7
>userCertificate;binary:< file///home/yplui/cert.der
>        thanks a lot!
>Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com