The following housekeeping measures are optional and will vary, based on the CA server requirements and operational circumstances:
Request a CRL
When the router receives a certificate from a peer, it will download a CRL from either the CA or from a CA-designated CRL distribution point. The router then looks for the certificate on the CRL to make sure it hasn’t been revoked. The router won’t accept the certificate and it won’t authenticate the peer if the certificate appears on the CRL. A CRL can continue to be reused with other certificates until the CRL expires. If the router receives a certificate after the CRL has expired, it will download the latest CRL.
If the CA system supports RAs, multiple CRLs can exist. The certificate in question will indicate which CRL applies and should be downloaded by the router for authentication. If the router doesn’t have or is unable to download the appropriate CRL, the certificate will normally be rejected. The exception to this would be if the router configuration contains the crl optional feature under the crypto ca identity command. With the crl optional command, the router will still try to get the required CRL, but failing that, it can accept the peer’s certificate anyway. The router will continue to try to get the CRL.
If the CA server requires a local CRL, use the global configuration crypto ca crl request command to request an immediate download of the latest CRL. Use the same name used to declare the CA with the crypto ca identity command:
Rtr1(config)#crypto ca crl request name
An example for the chapter scenario would look like the following:
Rtr1(config)#crypto ca crl request ca-ipsec
Delete Router’s RSA Keys
While this could seem like a harsh step, it might be necessary to delete a router’s RSA keys if you had reason to believe the RSA keys were compromised. This process can’t be undone and all new key exchanges would have to wait until new RSA key requests could be processed.
Use the global configuration crypto key zeroize rsa command to delete all the router’s RSA keys. The syntax and an example follow:
Rtr1(config)#crypto key zeroize rsa