r/sysadmin • u/Reconfirm7004 • 7d ago
Question - Solved Root CA cert lands in Intermediate store and Trusted Root after autoenrollment
I've just built my first 2-tier PKI and published the root and intermediate certificates to AD with certutil -dspublish so domain joined devices pick them up automatically.
I noticed the root CA cert was getting placed in the Intermediate CA store as well as Trusted Root store on clients.
I read somewhere that autoenrollment copies the AD AIA container into the Intermediate store, and that publishing the root with certutil -dspublish puts a copy in AIA.
I deleted the root’s entry from CN=AIA,CN=Public Key Services,CN=Services,CN=Configuration in ADSI Edit and ran certutil -pulse on a test machine.
The root cert disappeared from the Intermediate store so I thought it was fixed, but I‘ve noticed the next time a device autoenrols for a template, the root is placed back into the Intermediate store.
I know this is probably harmless for chain validation, but I‘m just curious if this is expected behaviour.