Installing Simple Certificate Enrollment Protocol (SCEP) Add-on for Certificate Services and Enrolling for Certificates from a Cisco Router

The Simple Certificate Enrollment Protocol (SCEP) Add-on for Certificate Services runs on Windows 2000 Server.

This tool is not installed by the Windows 2000 Resource Kit Setup. To install it, use the following procedure:

Before you start

To install SCEP Add-on for Certificate Services on a Windows 2000 root CA

  1. Log on with the appropriate administrative privileges to the server on which the root CA is installed.

  2. Click Start, click Run, then type drive:cepsetup.exe where drive is the CD-ROM drive where the Windows 2000 Resource Kit CD is located or the disk drive where you have downloaded cepsetup.exe.

  3. In the SCEP Add-on for Certificate Services Setup wizard:

To enroll for certificates from a Cisco router

Remove all current certificates stored on the router and configure the router for new certificate enrollment

  1. At the routername> prompt, type EN

  2. Type in your password. You are now in "Enable Mode" on the router.

  3. At the routername# prompt, type config t.

  4. At the routername(config)# prompt, type no crypt ca identity ExistingCAIdentityName.

  5. Type y to destroy all certificates.

  6. At the routername(config)# prompt, type crypt ca identity NewCAIdentityName.

  7. At the routername(ca-identity)# prompt, type enrollment mode ra.

  8. NOTE: Do not use the query sub-command at routername(ca-identity)# prompt to configure the router.

  9. At the routername(ca-identity)# prompt, type enrollment url http://URLHostName/certsrv/mscep/mscep.dll where URLHostName is the name of the server which hosts the CA's enrollment Web pages (also referred to as Certificate Services Web pages).

  10. If you do not want the router to check the CA's certificate revocation list (CRL), at the routername(ca-identity)# prompt, type crl optional.

  11. At the routername(ca-identity)# prompt, type exit.

  12. At the routername(config)# prompt, type exit.

  13. At the routername# prompt, type write memory.

  14. To confirm that your changes have taken place, at the routername# prompt, type write terminal. The router will display its configuration information. No certificates will appear in the displayed information and you will see the enrollment URL you entered.

Request the CA's certificate

  1. At the routername# prompt, type config t.

  2. At the routername(config)# prompt, type crypt ca authenticate NewCAIdentityName.

  3. Attributes of CA certificate will be displayed, including the fingerprint of the CA certificate. The "fingerprint" is a series of alphanumeric characters unique to that CA certificate.

    You can confirm that the fingerprint of the CA certificate being presented to the router matches the fingerprint of the authentic CA certificate by connecting to the URL: http://URLHostName/certsrv/mscep/mscep.dll in Internet Explorer. Verify that the fingerprint displayed at this URL matches the fingerprint of the certificate being presented to the router.

    Type Y to accept the CA certificate.

  4. To confirm that you received the CA certificate, at the routername(config)# prompt, type exit.

  5. At the routername# prompt, type show crypt ca certificate. The CA certificate will be displayed on the screen.

Generate a public and private key pair

  1. At the routername# prompt, type config t.

  2. At the routername(config)# prompt, type crypt key gen rsa.

  3. When you are asked if you want to replace your current keys, type Y.

  4. Enter the number of bits in the modulus (key size). The default is 512.

Enroll for certificates.

  1. At the routername(config)# prompt, type crypt ca enroll NewCAIdentityName.

  2. You are asked to input a password.

    Using Internet Explorer, retrieve a valid challenge password by connecting to the URL: http://URLHostName/certsrv/mscep/mscep.dll.

    Some notes about this password:

  3. Type Y to include the router serial number in the subject name.

  4. Type Y to include the IP address in the subject name.

  5. Type Y to request the certificate from the CA. The certificate request fingerprint will be displayed and the certificate will be received from the CA.

  6. Type exit to leave config mode.

  7. At the routername# prompt, type show crypt ca certificate to verify that you have certificate(s) for the router. The certificate(s) issued to the router, as well as the CA certificate, will be displayed on the screen.

Notes