I'm writing because of the error in the subject :) I get it when I try to add certificates to LDAP directory.
Well, the unknown attribute is "description". In my CA, it must be included in certificates' subject. This attribute should contain a list of values like this: "description=C=<value1>/N=<value2>/D=<value3>/R=<value4>". I noticed that X509.pm parses it bad, so I added these lines of code (in parseCert() function, before the first "while" loop):
####################################################
if ($ret->{DN} =~ /description/)
{
$ret->{DN} =~ s/C=(.*), N=(.*), D=(.*), R=(.*)/C=$1\/N=$2\/D=$3\/R=$4/;
}
####################################################
I needed to add these lines, otherwise the N, D and R fields are splitted from "description". (BTW, I get the same problem when I view certificates with openssl's x509 utility... but I think certificates are ok, because when I viewed the DER form with an hex editor, the "description" field was ok).
Now, I get that error. I tried to patch addLDAPobject in ldap-utils.lib, but actually I don't know exactly how to do it. If someone could give me a hint...
Thank you, Alberto
-- Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor: La foto che hai sempre vicino a te... Stampala su un nostro gadget! Stelle & Strisce stampa quello che vuoi TU .... dove Vuoi Tu!!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2116&d=28-10
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
