Thanks Erwann, Still same error:
dn: uid=provider,ou=people,dc=company,dc=com objectClass: top objectClass: inetOrgPerson objectClass: person objectClass: organizationalPerson cn: Provider sn: provider mail: [email protected] uid: provider userCertificate;binary:: <file://Users/jignesh/install/direct/tools/terretta.der On Mar 11, 2013, at 5:29 PM, Erwann Abalea wrote: > Your certificate is fine, your LDIF file is incorrect. > > "userCertificate;binary: terreta.der" should be changed either into: > > userCertificate;binary:< file://path/to/terreta.der > or > userCertificate;binary:: base64 of your terreta.der file > > 2013/3/11 Jignesh Patel <[email protected]> > I have a requirement to search CERT entry based on given email address. > > FYI. I am trying to load following file but it is giving me an error. > > Error while importing LDIF > - [LDAP: error code 21 - userCertificate;binary: value #0 invalid per syntax] > java.lang.Exception: [LDAP: error code 21 - userCertificate;binary: value #0 > invalid per syntax > > > The certificate file and LDIF file are as attached. > > -Jignesh > > > On Mar 11, 2013, at 12:00 PM, Marc Patermann wrote: > >> Jignesh, >> >> Jignesh Patel schrieb (11.03.2013 00:51 Uhr): >>> How to configure s/mime with openldap 2.4.23? >> What do you think S/MIME - "Secure/Multipurpose Internet Mail Extensions" - >> is for and how is this related to openldap? >> >> >> Marc > > > > > > -- > Erwann.
