Q: How can I publish a Certificate Revocation List (CRL) or Certification Authority (CA) certificate to an Active Directory (AD) Lightweight Directory Services (LDS) instance?

Jan De Clercq

May 11, 2010

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A: A Windows Enterprise CA (that is, an AD-integrated CA) automatically publishes its certificates and CRLs in AD. But if you're using a different LDAP server, such as an AD LDS instance, you must publish the certificates and CRLs manually. The easiest way to do this is to use the Certutil command line utility.

To manually publish a certificate to an AD LDS instance, use the command

certutil –addstore "ldap:///?CACertificate?base?ObjectClass=CertificationAuthority" 

For example,

certutil -addstore "ldap://myadldsserver.mycompany.net/CN=myCA,CN=Certification Authorities,CN=Public Key Services,CN=Services,CN=Configuration,DC=mycompany,DC=net?CACertificate?base?ObjectClass=CertificationAuthority" mycacertificate.cer

To manually publish a CRL to an AD LDS instance, use the command

certutil –addstore "ldap:///?CertificateRevocationList?base?Objectclass=CRLDistributionPoint" 

In the above commands, you must replace with the name of the AD LDS server, with the LDAP path you've used to publish CRLs in the CA configuration (this is a CRL Distribution Point), with the file name of the CRL you want to publish, and with the file name of the certificate you want to publish.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like