I am trying to load certificate in userCertificate attribute but getting an error "Undefined Attribute Type".
The certificate is correct and I can view it with the table certificate editor. Everything seems correct, it just don't save it into directory.
For openldap please check the box 'Force binary when saving to directory' (Certificate Editor), also please note that it will store the value in userCertificate;binary attribute.