Certificates, Autoenrollment, Credential Roaming and User's Personal  Store

Certificates, Autoenrollment, Credential Roaming and User's Personal Store

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Certificates, Autoenrollment, Credential Roaming and User's Personal Store BillL 04-29-2008
Posted by BillL on April 29, 2008, 10:53 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi,

I have a user cert set up for autoenrollment. The cert is published
in AD and the "Do not automatically reenroll if a duplicate
certificate exists in Active Directory" checkbox is checked. The CA
is a Windows 2003 Enterprise CA. Credential Roaming is also set up in
the environemnt.

Autoenrollment and credential roaming seem to be working fine but I do
encounter an issue when a workstation is reimaged or the certs are
deleted from the user's personal store on a workstation. After one of
these occurences the user's personal store never gets a copy of the
user's existing certs on that workstation.

The only way to populate the store is to have them issued a new
certificate by deleting the user's certs from the CA and their AD
object. After this the autoenrollment process will populate the
personal store with a brand new user certificate.

I'd rather not generate a new cert each time. Is there a way to get
the existing certs automatically copied to the user's personal store
on a workstation?

Thanks for your help.
Bill

Posted by Brian Komar \(MVP\) on April 29, 2008, 11:26 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Some answers inline...

> Hi,
>
> I have a user cert set up for autoenrollment. The cert is published
> in AD and the "Do not automatically reenroll if a duplicate
> certificate exists in Active Directory" checkbox is checked. The CA
> is a Windows 2003 Enterprise CA. Credential Roaming is also set up in
> the environemnt.

If you are using certificate roaming there really is no need to enable the
"Do not automatically reenroll if a duplicate
certificate exists in Active Directory" .

What type of certs are you issuing? Signing? Encryption?
>
> Autoenrollment and credential roaming seem to be working fine but I do
> encounter an issue when a workstation is reimaged or the certs are
> deleted from the user's personal store on a workstation. After one of
> these occurences the user's personal store never gets a copy of the
> user's existing certs on that workstation.

Yes, this is due to the duplicate certificate in AD setting. If you manually
delete the certificate in the user's store, this is the expected and proper
behavior.
You have chosen to explicity delete the certificate from the store.

A re-image should not have this behavior. Much like logging on to a new
computer, the certificates will roam to the new profile on the new computer.
Same as logging onto a new computer. Verify that CRS is correctly
configured.

>
> The only way to populate the store is to have them issued a new
> certificate by deleting the user's certs from the CA and their AD
> object. After this the autoenrollment process will populate the
> personal store with a brand new user certificate.

You do not ahve to delete the certs from the AD. You would have to delete
them from the AD object though due to the certificate template setting.

>
> I'd rather not generate a new cert each time. Is there a way to get
> the existing certs automatically copied to the user's personal store
> on a workstation?

It should work if you re-image the computer. If the user or help desk is
telling the user to delete the certificate from the store, then you have
deleted the certificate and will have to re-enroll.

>
> Thanks for your help.
> Bill


Posted by BillL on April 29, 2008, 1:33 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Apr 29, 11:26=A0am, "Brian Komar \(MVP\)"
> Some answers inline...
>
>
>
> > Hi,
>
> > I have a user cert set up for autoenrollment. =A0The cert is published
> > in AD and the "Do not automatically reenroll if a duplicate
> > certificate exists in Active Directory" checkbox is checked. =A0The CA
> > is a Windows 2003 Enterprise CA. =A0Credential Roaming is also set up in=

> > the environemnt.
>
> If you are using certificate roaming there really is no need to enable the=

> "Do not automatically reenroll if a duplicate
> certificate exists in Active Directory" .
>
> What type of certs are you issuing? Signing? Encryption?
>
>
>
> > Autoenrollment and credential roaming seem to be working fine but I do
> > encounter an issue when a workstation is reimaged or the certs are
> > deleted from the user's personal store on a workstation. =A0After one of=

> > these occurences the user's personal store never gets a copy of the
> > user's existing certs on that workstation.
>
> Yes, this is due to the duplicate certificate in AD setting. If you manual=
ly
> delete the certificate in the user's store, this is the expected and prope=
r
> behavior.
> You have chosen to explicity delete the certificate from the store.
>
> A re-image should not have this behavior. Much like logging on to a new
> computer, the certificates will roam to the new profile on the new compute=
r.
> Same as logging onto a new computer. Verify that CRS is correctly
> configured.
>
>
>
> > The only way to populate the store is to have them issued a new
> > certificate by deleting the user's certs from the CA and their AD
> > object. =A0After this the autoenrollment process will populate the
> > personal store with a brand new user certificate.
>
> You do not ahve to delete the certs from the AD. You would have to delete
> them from the AD object though due to the certificate template setting.
>
>
>
> > I'd rather not generate a new cert each time. =A0Is there a way to get
> > the existing certs automatically copied to the user's personal store
> > on a workstation?
>
> It should work if you re-image the computer. If the user or help desk is
> telling the user to delete the certificate from the store, then you have
> deleted the certificate and will have to re-enroll.
>
>
>
>
>
> > Thanks for your help.
> > Bill- Hide quoted text -
>
> - Show quoted text -

Hi Brian,

Thanks for your assistance.

I had checked the "Do not automatically reenroll if a duplicate
certificate exists in AD" check box because users were getting
multiple certs if I didn't have this checked. I was trying to
minimize the number of certs that were generated for each user.

The cert purpose is "Signature and Encryption". The Description of
Application Policies shows Encrypting File System, Secure Email and
Client Authentication. We are currently only using it for client
authentication.

When you say "verify that CRS is correctly configured" are you talking
about the group policy settings for enabling autoenrollment? If so I
do not have "Automatic Certificate Request Settings" configured. I do
have "Autoenrollment Settings" configured for users and computers at
the domain level. These are set to "Enroll Certifcates
automatically". I have both the "Renew expired certifcates, ..." and
"Update certificates that use templates" checked.

By the way your book has been a great help to me as well.

Thanks again.




Posted by Brian Komar \(MVP\) on April 30, 2008, 2:04 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I am talking about Credential Roaming Service
This is what you need to deploy
http://technet2.microsoft.com/WindowsServer/en/Library/673d5152-1bc8-49eb-bfd1-990b0a004baa1033.mspx
Brian

On Apr 29, 11:26 am, "Brian Komar \(MVP\)"
> Some answers inline...
>
>
>
> > Hi,
>
> > I have a user cert set up for autoenrollment. The cert is published
> > in AD and the "Do not automatically reenroll if a duplicate
> > certificate exists in Active Directory" checkbox is checked. The CA
> > is a Windows 2003 Enterprise CA. Credential Roaming is also set up in
> > the environemnt.
>
> If you are using certificate roaming there really is no need to enable the
> "Do not automatically reenroll if a duplicate
> certificate exists in Active Directory" .
>
> What type of certs are you issuing? Signing? Encryption?
>
>
>
> > Autoenrollment and credential roaming seem to be working fine but I do
> > encounter an issue when a workstation is reimaged or the certs are
> > deleted from the user's personal store on a workstation. After one of
> > these occurences the user's personal store never gets a copy of the
> > user's existing certs on that workstation.
>
> Yes, this is due to the duplicate certificate in AD setting. If you
> manually
> delete the certificate in the user's store, this is the expected and
> proper
> behavior.
> You have chosen to explicity delete the certificate from the store.
>
> A re-image should not have this behavior. Much like logging on to a new
> computer, the certificates will roam to the new profile on the new
> computer.
> Same as logging onto a new computer. Verify that CRS is correctly
> configured.
>
>
>
> > The only way to populate the store is to have them issued a new
> > certificate by deleting the user's certs from the CA and their AD
> > object. After this the autoenrollment process will populate the
> > personal store with a brand new user certificate.
>
> You do not ahve to delete the certs from the AD. You would have to delete
> them from the AD object though due to the certificate template setting.
>
>
>
> > I'd rather not generate a new cert each time. Is there a way to get
> > the existing certs automatically copied to the user's personal store
> > on a workstation?
>
> It should work if you re-image the computer. If the user or help desk is
> telling the user to delete the certificate from the store, then you have
> deleted the certificate and will have to re-enroll.
>
>
>
>
>
> > Thanks for your help.
> > Bill- Hide quoted text -
>
> - Show quoted text -

Hi Brian,

Thanks for your assistance.

I had checked the "Do not automatically reenroll if a duplicate
certificate exists in AD" check box because users were getting
multiple certs if I didn't have this checked. I was trying to
minimize the number of certs that were generated for each user.

The cert purpose is "Signature and Encryption". The Description of
Application Policies shows Encrypting File System, Secure Email and
Client Authentication. We are currently only using it for client
authentication.

When you say "verify that CRS is correctly configured" are you talking
about the group policy settings for enabling autoenrollment? If so I
do not have "Automatic Certificate Request Settings" configured. I do
have "Autoenrollment Settings" configured for users and computers at
the domain level. These are set to "Enroll Certifcates
automatically". I have both the "Renew expired certifcates, ..." and
"Update certificates that use templates" checked.

By the way your book has been a great help to me as well.

Thanks again.




Posted by BillL on April 30, 2008, 2:27 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
On Apr 30, 2:04=A0am, "Brian Komar \(MVP\)"
> I am talking about Credential Roaming Service
> This is what you need to deployhttp://technet2.microsoft.com/WindowsServer=
/en/Library/673d5152-1bc8-...
> Brian
>
>
> On Apr 29, 11:26 am, "Brian Komar \(MVP\)"
>
>
>
>
>
> > Some answers inline...
>
>

>
> > > Hi,
>
> > > I have a user cert set up for autoenrollment. The cert is published
> > > in AD and the "Do not automatically reenroll if a duplicate
> > > certificate exists in Active Directory" checkbox is checked. The CA
> > > is a Windows 2003 Enterprise CA. Credential Roaming is also set up in
> > > the environemnt.
>
> > If you are using certificate roaming there really is no need to enable t=
he
> > "Do not automatically reenroll if a duplicate
> > certificate exists in Active Directory" .
>
> > What type of certs are you issuing? Signing? Encryption?
>
> > > Autoenrollment and credential roaming seem to be working fine but I do=

> > > encounter an issue when a workstation is reimaged or the certs are
> > > deleted from the user's personal store on a workstation. After one of
> > > these occurences the user's personal store never gets a copy of the
> > > user's existing certs on that workstation.
>
> > Yes, this is due to the duplicate certificate in AD setting. If you
> > manually
> > delete the certificate in the user's store, this is the expected and
> > proper
> > behavior.
> > You have chosen to explicity delete the certificate from the store.
>
> > A re-image should not have this behavior. Much like logging on to a new
> > computer, the certificates will roam to the new profile on the new
> > computer.
> > Same as logging onto a new computer. Verify that CRS is correctly
> > configured.
>
> > > The only way to populate the store is to have them issued a new
> > > certificate by deleting the user's certs from the CA and their AD
> > > object. After this the autoenrollment process will populate the
> > > personal store with a brand new user certificate.
>
> > You do not ahve to delete the certs from the AD. You would have to delet=
e
> > them from the AD object though due to the certificate template setting.
>
> > > I'd rather not generate a new cert each time. Is there a way to get
> > > the existing certs automatically copied to the user's personal store
> > > on a workstation?
>
> > It should work if you re-image the computer. If the user or help desk is=

> > telling the user to delete the certificate from the store, then you have=

> > deleted the certificate and will have to re-enroll.
>
> > > Thanks for your help.
> > > Bill- Hide quoted text -
>
> > - Show quoted text -
>
> Hi Brian,
>
> Thanks for your assistance.
>
> I had checked the "Do not automatically reenroll if a duplicate
> certificate exists in AD" check box because users were getting
> multiple certs if I didn't have this checked. =A0I was trying to
> minimize the number of certs that were generated for each user.
>
> The cert purpose is "Signature and Encryption". =A0The Description of
> Application Policies shows Encrypting File System, Secure Email and
> Client Authentication. =A0We are currently only using it for client
> authentication.
>
> When you say "verify that CRS is correctly configured" are you talking
> about the group policy settings for enabling autoenrollment? =A0If so I
> do not have "Automatic Certificate Request Settings" configured. =A0I do
> have "Autoenrollment Settings" configured for users and computers at
> the domain level. =A0These are set to "Enroll Certifcates
> automatically". =A0I have both the "Renew expired certifcates, ..." and
> "Update certificates that use templates" checked.
>
> By the way your book has been a great help to me as well.
>
> Thanks again.- Hide quoted text -
>
> - Show quoted text -

I didn't make the reference of CRS to Credential Roaming Services.
Yes, I have implemented that and it seems to be working in most
cases. When we reimage a workstation, it is reimaged with the same
computer name. Could that affect whether the user certifcates are
copied down to the "new" workstation?

Thanks.

Similar ThreadsPosted
Credential Roaming + EFS - how to cleanup user certificates ? May 5, 2008, 2:49 pm
how to check .pfx certificates in personal store remotely April 5, 2006, 11:50 am
Error in Signtool - "Personal" certifcate store was not found August 4, 2006, 9:10 pm
How to make privatekey of a certificate entirely non exportable from personal store? April 6, 2007, 5:47 am
Deleting Archived Certificates from Users' My store on Workstations July 8, 2008, 3:50 pm
Credential expiration timestamps and groups January 10, 2007, 10:59 am
domain cache credential corrupted January 15, 2007, 9:38 am
Tasklist.exe -- credential caching for remote workstations? January 19, 2006, 6:47 pm
HELP!!! Roaming Profiles March 22, 2007, 11:35 am
AutoEnrollment June 6, 2006, 4:56 pm

The site map in XML format XML site map

Contact Us | Privacy Policy