|
|
This chapter explains the function and syntax of the certification authority interoperability commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Security Command Reference, Release 12.1.
To manually add certificates, use the certificate command in certificate chain configuration mode. Use the no form of this command to delete your router's certificate or any RA certificates stored on your router.
certificate certificate-serial-number
Syntax Description
certificate-serial-number Specify the serial number of the certificate to add or delete.
To allow other peers' certificates to still be accepted by your router even if the appropriate Certificate Revocation List (CRL) is not accessible to your router, use the crl optional command in ca-identity configuration mode. Use the no form of the command to return to the default behavior in which CRL checking is mandatory before your router can accept a certificate.
crl optionalSyntax Description
This command has no arguments or keywords.
Syntax Description
name Specify the name of the CA. This is the same name used when the CA was declared with the crypto ca identity command.
Syntax Description
name Specify the name of the CA. Use the same name as when you declared the CA using the crypto ca identity command.
To specify that certificates and Certificate Revocation Lists (CRLs) should not be stored locally but retrieved from the CA when needed, use the crypto ca certificate query command in global configuration mode. This command puts the router into query mode. Use the no form of this command to cause certificates and CRLs to be stored locally (the default).
crypto ca certificate querySyntax Description
This command has no arguments or keywords.
Syntax Description
name Specify the name of the CA. This is the same name used when the CA was declared with the crypto ca identity command.
Syntax Description
name Specify the name of the CA. Use the same name as when you declared the CA using the crypto ca identity command.
To declare the CA your router should use, use the crypto ca identity command in global configuration mode. Use the no form of this command to delete all identity information and certificates associated with the CA.
crypto ca identity name
Syntax Description
name Create a name for the CA. (If you previously declared the CA and just want to update its characteristics, specify the name you previously created.) The CA might require a particular name, such as its domain name.
To generate RSA key pairs, use the crypto key generate rsa command in global configuration mode.
crypto key generate rsa [usage-keys]
Syntax Description
usage-keys (Optional) Specifies that two special-usage key pairs should be generated, instead of one general-purpose key pair.
Syntax Description
This command has no arguments or keywords.
Syntax Description
This command has no arguments or keywords.
Syntax Description
number Specify how many times the router will resend a certificate request when the router does not receive a certificate from the CA from the previous request. Specify from 1 to 100 retries.
Syntax Description
minutes Specify the number of minutes the router waits before resending a certificate request to the CA, when the router does not receive a certificate from the CA by the previous request. Specify from 1 to 60 minutes. By default, the router retries every 1 minute.
Syntax Description
url Specify the URL of the CA where your router should send certificate requests, for example, http://ca_server. This URL must be in the form of http://CA_name where CA_name is the CA's host DNS name or IP address. If the CA cgi-bin script location is not /cgi-bin/pkiclient.exe at the CA (the default CA cgi-bin script location) you need to also include the non-standard script location in the URL, in the form of http://CA_name/script_location where script_location is the full path to the CA scripts.
To specify LDAP protocol support, use the query url command in ca-identity configuration mode. Use the no form of this command to remove the query URL from the configuration and specify the default query protocol, certificate enrollment protocol (CEP).
query url url
Syntax Description
url Specify the URL of the LDAP server; for example, ldap://another_server. This URL must be in the form of ldap://server_name where server_name is the host DNS name or IP address of the LDAP server.
Syntax Description
This command has no arguments or keywords.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 16:19:50 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.