[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
problem with certificationAuthority and pkiCA
Hi all,
I'm trying to put a CA certificate in my LDAP, but I have readed that
it's not possible to use a not structural objectClass.
certificationAuthority and pkiCA are auxiliary.
When I try ldapadd a ldif file like this:
dn: cn=CAcert,dc=juanan,dc=es
objectclass: top
objectclass: certificationAuthority
cACertificate;binary::
MIIDbTCCAlWgAwIBAgIBADANBgkqhkiG9w0BAQUFADA7MQswCQYDVQQGE
wJFUzEM
MAoGA1UEChMDQ1NDMQ0wCwYDVQQtEwQyMDAzMQ8wDQYDVQQDEwZBQyBDU0MwHhcN
MDMwMjA3MTMzMjQ4WhcNMTgwMjA3MTMzMjQ4WjA7MQswCQYDVQQGEwJFUzEMMAoG
A1UEChMDQ1NDMQ0wCwYDVQQtEwQyMDAzMQ8wDQYDVQQDEwZBQyBDU0MwggEiMA0G
CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7OqG2/Iw/0p5cio4DOfeGzTOQ178J
o4zVHqpfk5EF5uBkZSGNjx35aVrekTNGEc0cXXCfTAMMigupeLKGt00OwCiIBezk
IG+zZkQIMhUs8IB8h38Aun21f9CkWr3Ak7retpZAvSkp6FsWhLhSBmWuvGQ8ZKnw
po31fJ/lhIjZWzmoLC52kOtrJs5vh7klaQdy9j3CFpUDY8RBkmb8mrsjql+U5tIQ
8+8mv4bwp3bB5rbsmNPbrU7eO+k6aOe692ZPWw7gSK5XO6St0EBwl9zMbNE3XjEj
vKUq4c0m8M1X/btZlTX1ap8GFIHI3XiGaR2OrFWqCyYl2DPgjw1OXlx3AgMBAAGj
fDB6MA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFNijjE1j7BpjmlbEATdpL7Su
TSxiMA4GA1UdDwEB/wQEAwIBBjARBglghkgBhvhCAQEEBAMCAAcwEwYJKwYBBAGC
NxQCBAYeBABDAEEwEAYJKwYBBAGCNxUBBAMCAQAwDQYJKoZIhvcNAQEFBQADggEB
ADM0nS8UpifwdDfFHMiejAvJUE21RUZC49OWrhT/AReC49KKXRjqBZggQkyB26Cj
ql4p+w+Bev9s4f4BOADzv5q83S2SsvdgeD+gn6jVXK1NpQtAGP3hCmqafspxG830
lejxFpMb/2eSGIJjBHrKZ7+a6+PpnnMn+c1usPohipFwSD7o2HBgJyJZyRqrtyAS
QbHO6/fKSKcqebyLQpiqatgM2v25+GeUZRV4KBES8OffHoWEuLJSxGaS1yVNU8yB
pr90+75ru/imK8sB9e/DJZQgvEM0EhxDH9SPInQbyZB1JI1OUYV0OWQFBxqGplsq
5m49lwRYeWQmBXgHHUWOlAs=
The error that I get is:
ldapadd: update failed: cn=CAcert,dc=juanan,dc=es
ldap_add: Object class violation (65)
additional info: no structural object class provided
Do you have any idea to solve it?
Thanks
Juanan