Active Directory – User-Cert vs X509-Cert Attributes

active-directoryad-certificate-servicescertificatewindows-server-2008

I came across two user object attributes User-Cert (ldap name: userCert) and X509-Cert (ldap name: userCertificate) in Active Directory that sound similar, but doesn't seem so.

As per documentation (https://docs.microsoft.com/en-us/windows/win32/adschema/a-usercertificate), X509-Cert (userCertificate) holds the DER-encoded X.509v3 certificates and contains the public key certificates issued to the user by Microsoft Certificate Service. This can be then used for authentication purposes.

However, there is no clarity on what is User-Cert (userCert) attribute is and its uses. The documentation says Nortel v1 or DMS certificateshttps://docs.microsoft.com/en-us/windows/win32/adschema/a-usercert.

Could somebody please shed some light on this?
Thanks.

Best Answer

user-cert originally used to store certificates for S/MIME purposes (to lookup for recipient certificates). But it is replaced with userCertificate attribute. For example, MS Outlook reads user-cert attribute, but do not use it in any way (ignores its value completely).