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

Re: userCertificate, wrong attribute type?



On Thu, Dec 22, 2011 at 02:39:13PM +0100, Nicolas KOWALSKI wrote:
> I converted the PEM file containing the certificate to DER format, then 
> created this ldif:
> 
> dn: cn=Nicolas.Kowalski,ou=people,dc=home,dc=lan
> changetype: modify
> add: userCertificate
> userCertificate;binary:< file:///root/ssl/Nicolas.Kowalski-crt.der

I just found the problem: the "add: ..." line was incomplete, missing 
the subtype.

This ldif works:

dn: cn=Nicolas.Kowalski,ou=people,dc=home,dc=lan
changetype: modify
add: userCertificate;binary
userCertificate;binary:< file:///root/ssl/Nicolas.Kowalski-crt.der


-- 
Nicolas