Renewing certificates on Win 2K Pro

From: Nancy Kafer (nkafer_at_homesteaderslife.com)
Date: 06/28/05

  • Next message: Altria: "Re: Non-Administrator's access to local CD-ROM?"
    Date: Tue, 28 Jun 2005 15:35:00 -0500
    
    

    I am relatively new to PKI and am working with renewing certificates. I have
    a Win 2K3 Enterprise Edition server as my CA. I also have approximately 30
    laptops (running Windows 2000) with VPN certificates. These certificates are
    set to expire during the next few months. I know that if I was running Win
    XP my certificates could auto-reenroll. However, I know that I have to use a
    script to renew my Win 2K machines. I have taken a copy of the Enroll.vbs
    script from the "Windows Server 2003 PKI Certificate Security" manual and
    modified it to account for our environment.

    I have a few of questions about renewing certificates:

    1) I have the issuance requirements on my VPN certificate set to "CA
    Certificate Manager approval" for enrollment and checked "Valid existing
    certificate" for re-enrollment. My issue is that when I run the enroll.vbs
    script my certificate request gets pended instead of automatically issuing a
    renewal. So then my script fails. I have made sure that I am specifying
    /renew as a command line parameter on my cscript command. When I uncheck the
    "CA Certificate Manager" checkbox and re-run the enroll.vbs script my
    certificate is issued. Why will the script not automatically renew my
    certificate when this box is checked? Is the re-enrollment requirement only
    valid for Win XP? I really don't want to uncheck this box because it is a
    security risk.

    2) Is there a way that when I renew my certificate it uses the existing
    fields from the original certificate (e.g. Friendly name)? When I looked at
    the certificate generated via the enroll.vbs script I noticed my friendly
    name was gone (may have been other fields that were also different from the
    original certificate).

    3) When I unchecked the "CA Certificate Manager approval" checkbox and ran
    the enroll.vbs script my script ran successfully. I looked at the
    certificate on my client and it was updated (verified because before I
    renewed the certificate I changed the validity period). When I look on my
    Certificate Authority I see a new issued certificate that corresponds to my
    renewed certificate only it had a different serial number. Is this normal?
    Should I leave the expired certificate listed in the Issued certificates?

    Thanks for any help.

    Nancy


  • Next message: Altria: "Re: Non-Administrator's access to local CD-ROM?"

    Relevant Pages

    • Re: how to bypass a known-bad SSL certificate
      ... Is this script just for running on one machine that you control? ... might be able to just disable certificate checking in IE Advanced Options. ... > this warning for a specific certificate and/or webserver? ... Set objHTTP = WScript.CreateObject ...
      (microsoft.public.scripting.wsh)
    • Re: how to bypass a known-bad SSL certificate
      ... Is this script just for running on one machine that you control? ... might be able to just disable certificate checking in IE Advanced Options. ... > this warning for a specific certificate and/or webserver? ... Set objHTTP = WScript.CreateObject ...
      (microsoft.public.scripting.vbscript)
    • RE: How to enable certificate purpose programmatically?
      ... ' This script removes sets the "meta eku" on a particular certificate. ... Set Store = CreateObject ... Set ExtendedProperty = CreateObject ...
      (microsoft.public.platformsdk.security)
    • Re: SSL/TLS - am I doing it right?
      ... Signing a certificate request is easier: ... Why do people feel the need to wrap that up in some Perl script? ... you were using OpenSSL or M2Crypto in a way that takes care of that. ... The problem with the world is stupidity. ...
      (comp.lang.python)
    • Re: Re-enrollment of Certificate on Win 2000
      ... require certificate manager approval. ... In fact, autoenrollment in Windows ... If you are requiring CA certficate manager approval with the Windows ... > Use of included script samples are subject to the terms specified at ...
      (microsoft.public.windows.server.security)