%3CLINGO-SUB%20id%3D%22lingo-sub-1128648%22%20slang%3D%22en-US%22%3ECA%20manager%20approval%20required%20for%20certificate%20re-enrollment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1128648%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%20First%20published%20on%20TECHNET%20on%20Mar%2008%2C%202011%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EHi%20there%2C%20this%20is%20Larry%2C%20Developer%20from%20US%2C%20and%20Fabian%2C%20PFE%20from%20Germany%2C%20writing%20about%20an%20uncommon%20scenario%20that%20might%20raise%20questions%20sometimes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20enrolling%20certificates%20to%20clients%20or%20users%2C%20you%20might%20want%20to%20have%20control%20regarding%20the%20initial%20enrollment%20of%20the%20certificate%20in%20order%20to%20decide%2C%20if%20the%20specific%20device%20or%20user%20really%20should%20have%20a%20certificate%20based%20on%20a%20specific%20template.%20Therefore%20you%20want%20to%20implement%20the%20following%20procedure%3A%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3COL%3E%0A%3COL%3E%0A%3CLI%3EThe%20initial%20enrollment%20(regardless%20if%20performed%20by%20manual%20respectively%20scripted%20enrollment%20or%20autoenrollment)%20should%20be%20issued%20only%20with%20CA%20certificate%20manager%20approval.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3COL%3E%0A%3CLI%3EWhen%20this%20certificate%20reaches%20the%20end%20of%20validity%20period%20and%20if%20there%20is%20a%20valid%20certificate%20%2F%20private%20key%20combination%2C%20the%20certificate%20renewal%20should%20be%20performed%20automatically%20without%20CA%20certificate%20manager%20approval.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20402px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167167i19607FAA6F4BB617%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20you%20can%20see%20in%20the%20first%20line%20%E2%80%9CRequire%20the%20following%20for%20enrollment%3A%E2%80%9D%2C%20the%20option%20%E2%80%9CCA%20certificate%20manager%20approval%E2%80%9D%20enables%20controlled%20issuance%20for%20certificates.%20The%20tick%20box%20%E2%80%9CRequire%20the%20following%20for%20reenrollment%E2%80%9D%20with%20option%20%E2%80%9CValid%20existing%20certificate%E2%80%9D%20allows%20reenrollment%20to%20occur%20without%20requiring%20CA%20manager%20approval.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGenerally%20speaking%20this%20is%20possible%2C%20but%20there%20are%20caveats%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%20Online%20Templates%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20using%20templates%20that%20are%20configured%20to%20obtain%20the%20subject%20information%20from%20the%20Active%20Directory%20account%20object%2C%20you%20may%20run%20into%20the%20problem%20that%20the%20reenrollment%20does%20not%20occur%20without%20manager%20approval.%20The%20renewal%20request%20may%20still%20be%20taken%20under%20submission%20and%20require%20you%20to%20issue%20them%20manually%20as%20a%20CA%20certificate%20manager%3A%20%3CINS%20cite%3D%22mailto%3AFabian%2520M%C3%BCller%22%20datetime%3D%222011-03-08T21%3A37%22%3E%20%3C%2FINS%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20605px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167168i57ACED9F919F1D14%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20605px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167169i7AB3E6F186D4F5F6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20may%20occur%20if%20the%20SAN%20does%20not%20contain%20either%20a%20User%20principal%20name%20(UPN)%20or%20E-mail%20name%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20403px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167170i98168B4A1C035859%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20the%20CA%20is%20processing%20a%20renewal%20request%2C%20there%20is%20a%20name%20match%20performed%20against%20the%20subject%20information%20within%20the%20certificate.%20The%20naming%20information%20in%20the%20signing%20cert%20(the%20one%20being%20renewed)%20needs%20to%20match%20that%20being%20requested.%20In%20performing%20the%20name%20match%2C%20however%2C%20the%20CA%20is%20only%20looking%20for%20specific%20items.%20This%20name%20match%20requires%20that%20the%20original%20certificate%20conains%20either%20a%20UPN%20or%20E-mail%20name%20(or%20both)%20within%20the%20SAN%20extension%2C%20that%20matches%20that%20defined%20on%20the%20AD%20account%20object.%20In%20order%20for%20this%20name%20match%20to%20be%20successfulI%2C%20if%26nbsp%3Bthis%20information%20is%20not%20present%20within%20the%20original%20certificate%20the%20renewal%20request%20goes%20pending%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CDEL%20cite%3D%22mailto%3Altalbot%22%20datetime%3D%222011-01-11T09%3A56%22%3E%20%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20605px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167171i9CDA56B2C41489E4%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%20%3C%2FDEL%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20workaround%20%3C%2FSTRONG%3E%20for%20this%20is%20simple%3A%20Configure%20your%20V2%20or%20V3%20template%20to%20include%20the%20UPN%20or%20E-mail%20name%20within%20the%20SAN%20and%20renewals%20will%20succeed%20as%20expected%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20405px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167172i3B329FD358E51FBA%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20event%20that%20the%20SAN%20information%20within%20the%20certificate%20being%20renewed%2C%20is%20different%20than%20that%20defined%20on%20the%20AD%20account%20object%2C%20such%20as%20in%20the%20case%20of%20an%20account%20re-name%2C%20the%20renewal%20request%20may%20also%20go%20pending.%20If%20the%20signing%20cert%20contains%20only%20the%20UPN%20or%20E-mail%20name%2C%20then%20that%20name%20must%20match%20what%20is%20defined%20on%20the%20AD%20account%20object.%20However%2C%20if%20both%20the%20UPN%20and%20E-mail%20name%20are%20present%2C%20only%20one%20need%20match%20in%20order%20for%20the%20renewal%20to%20be%20successful%20without%20requiring%20CA%20manager%20approval.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20described%20behavior%20holds%20true%20for%20both%20user%20and%20computer%20templates.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%20Offline%20Templates%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20behavior%20for%20offline%20templates%2C%20where%20the%20subject%20information%20is%20provided%20within%20the%20certificate%20request%2C%20the%20behavior%20is%20different.%20When%20a%20renewal%20request%20for%20an%20offline%20template%20is%20evaluated%2C%20a%20similar%20naming%20match%20is%20performed%2C%20however%2C%20today%20only%20the%20Subject%20is%20evaluated%20and%20SAN%20information%20is%20ignored.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20322px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F167173i7CD3DC57C7C6F535%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECheers!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1128648%22%20slang%3D%22en-US%22%3E%3CP%3EFirst%20published%20on%20TECHNET%20on%20Mar%2008%2C%202011%20Hi%20there%2C%20this%20is%20Larry%2C%20Developer%20from%20US%2C%20and%20Fabian%2C%20PFE%20from%20Germany%2C%20writing%20about%20an%20uncommon%20scenario%20that%20might%20raise%20questions%20sometimes.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1128648%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPKI%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

First published on TECHNET on Mar 08, 2011

Hi there, this is Larry, Developer from US, and Fabian, PFE from Germany, writing about an uncommon scenario that might raise questions sometimes.

 

When enrolling certificates to clients or users, you might want to have control regarding the initial enrollment of the certificate in order to decide, if the specific device or user really should have a certificate based on a specific template. Therefore you want to implement the following procedure:



    1. The initial enrollment (regardless if performed by manual respectively scripted enrollment or autoenrollment) should be issued only with CA certificate manager approval.

 

    1. When this certificate reaches the end of validity period and if there is a valid certificate / private key combination, the certificate renewal should be performed automatically without CA certificate manager approval.



 

 

 

As you can see in the first line “Require the following for enrollment:”, the option “CA certificate manager approval” enables controlled issuance for certificates. The tick box “Require the following for reenrollment” with option “Valid existing certificate” allows reenrollment to occur without requiring CA manager approval.

 

Generally speaking this is possible, but there are caveats:

 

Online Templates

 

If using templates that are configured to obtain the subject information from the Active Directory account object, you may run into the problem that the reenrollment does not occur without manager approval. The renewal request may still be taken under submission and require you to issue them manually as a CA certificate manager:

 

 

 

 

 

This may occur if the SAN does not contain either a User principal name (UPN) or E-mail name:

 

 

 

 

 

 

When the CA is processing a renewal request, there is a name match performed against the subject information within the certificate. The naming information in the signing cert (the one being renewed) needs to match that being requested. In performing the name match, however, the CA is only looking for specific items. This name match requires that the original certificate conains either a UPN or E-mail name (or both) within the SAN extension, that matches that defined on the AD account object. In order for this name match to be successfulI, if this information is not present within the original certificate the renewal request goes pending:

 

 

The workaround for this is simple: Configure your V2 or V3 template to include the UPN or E-mail name within the SAN and renewals will succeed as expected:

 

 

 

 

In the event that the SAN information within the certificate being renewed, is different than that defined on the AD account object, such as in the case of an account re-name, the renewal request may also go pending. If the signing cert contains only the UPN or E-mail name, then that name must match what is defined on the AD account object. However, if both the UPN and E-mail name are present, only one need match in order for the renewal to be successful without requiring CA manager approval.

 

The described behavior holds true for both user and computer templates.

 

Offline Templates

 

The behavior for offline templates, where the subject information is provided within the certificate request, the behavior is different. When a renewal request for an offline template is evaluated, a similar naming match is performed, however, today only the Subject is evaluated and SAN information is ignored.

 

 

 

 

Cheers!