Table Of Contents
Manual Certificate Enrollment (TFTP and Cut-and-Paste)
Prerequisites for Manual Certificate Enrollment (TFTP and Cut-and-Paste)
Restrictions for Manual Certificate Enrollment (TFTP and Cut-and-Paste)
Information About Manual Certificate Enrollment (TFTP and Cut-and-Paste)
Cut-and-Paste Certificate Enrollment
How to Configure Manual Certificate Enrollment
Configuring Certificate Enrollment via TFTP
Configuring Certificate Enrollment via Cut-and-Paste
Verifying Manual Certificate Enrollment
Configuration Examples for Manual Certificate Enrollment
Manual Certificate Enrollment Configuration Example
Verify Manual Certificate Enrollment Example
Manual Certificate Enrollment (TFTP and Cut-and-Paste)
The Manual Certificate Enrollment (TFTP and Cut-and-Paste) feature allows users to generate a certificate request and accept certification authority (CA) certificates as well as the router's certificates; these tasks are accomplished via a TFTP server or manual cut-and-paste operations. Users may wish to utilize TFTP or manual cut-and-paste enrollment in the following situations:
•
Their CA does not support Simple Certificate Enrollment Protocol (SCEP) (which is the most commonly used method for sending and receiving requests and certificates)
•
A network connection between the router and CA is not possible (which is how a router running Cisco IOS software obtains it certificate)
Feature Specifications for the Manual Certificate Enrollment (TFTP and Cut-and-Paste)
Feature History Release Modification12.2(13)T
This feature was introduced.
Supported PlatformsFor platforms supported in Cisco IOS Release 12.2(13)T, consult Cisco Feature Navigator.
Determining Platform Support Through Cisco Feature Navigator
Cisco IOS software is packaged in feature sets that are supported on specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.
Cisco Feature Navigator is a web-based tool that enables you to determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image. You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.
To access Cisco Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
Cisco Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Cisco Feature Navigator home page at the following URL:
Availability of Cisco IOS Software Images
Platform support for particular Cisco IOS software releases is dependent on the availability of the software images for those platforms. Software images for some platforms may be deferred, delayed, or changed without prior notice. For updated information about platform support and availability of software images for each Cisco IOS software release, refer to the online release notes or, if supported, Cisco Feature Navigator.
Contents
•
Prerequisites for Manual Certificate Enrollment (TFTP and Cut-and-Paste)
•
Restrictions for Manual Certificate Enrollment (TFTP and Cut-and-Paste)
•
Information About Manual Certificate Enrollment (TFTP and Cut-and-Paste)
•
How to Configure Manual Certificate Enrollment
•
Configuration Examples for Manual Certificate Enrollment
Prerequisites for Manual Certificate Enrollment (TFTP and Cut-and-Paste)
TFTP and cut-and-paste enrollment will be added to the public key infrastructure (PKI) subsystem. The PKI subsystem requires the crypto subsystem.
Restrictions for Manual Certificate Enrollment (TFTP and Cut-and-Paste)
A user can switch between TFTP and cut-and-paste; for example, a user can paste the CA certificate via the enrollment terminal command, then enter no enrollment terminal and enrollment url tftp://certserver/file_specification to TFTP the requests and router certificates. However, Cisco does not recommend switching URLs if SCEP is used; that is, if the enrollment URL is "http://," do not change the enrollment URL between fetching the CA certificate and enrolling the certificate.
Information About Manual Certificate Enrollment (TFTP and Cut-and-Paste)
To configure the Manual Certificate Enrollment (TFTP and Cut-and-Paste) feature, you must understand the following concepts:
•
Cut-and-Paste Certificate Enrollment
TFTP Certificate Enrollment
A user may wish to enable TFTP certificate enrollment when his or her CA does not support SCEP, which is the most commonly used method for sending and receiving requests and certificates. This feature takes the existing enrollment ca-trustpoint configuration subcommand and enhances the url url option to support TFTP certificate enrollment—enrollment url tftp://certserver/file_specification.
This enhanced subcommand specifies that TFTP should be used to send the enrollment requests and to retrieve the certificate of the CA and the certificate of the router. The file_specification is optional. However, if the file_specification is included in the URL, the router will append an extension onto the file specification. When the crypto ca authenticate command is entered, the router will retrieve the certificate of the CA from the specified TFTP server. As appropriate, the router will append the extension ".ca" to the filename or the fully qualified domain name (FQDN). (If the url url option does not include a file specification, the router's FQDN will be used.) For example, if a user enters enrollment url tftp://CA-server/TFTPfiles/router1, the file "TFTPfiles/router1.ca" will be read from the TFTP server "CA-server." If the router's FQDN is "router1.cisco.com," and a user enters enrollment url tftp://CA.cisco.com, the file "router1.cisco.com.ca" will be read from the TFTP server "CA.cisco.com."
The file must contain the certificate of the CA in binary format or base 64 encoded.
When a user enrolls the router via the crypto ca enroll command, he or she is prompted for information regarding the enrollment. The filename that is to be written is already determined at this point, and an extension of ".req" is appended to indicate that this is a certificate request.
For usage keys, two requests are generated and two certificates are expected to be granted. Thus, the extension for the certificate requests are "-sign.req" and "-encr.req."
After the user enters the crypto ca import command, the router will attempt to fetch the granted certificate via TFTP using the same filename that was used to send the request, except that ".req" extension will be replaced by a ".crt" extension. (The certificates are expected to be base 64 encoded PCKS#10 format certificates.) The router will parse the files it receives, verify the certificates, and insert the certificates into the internal certificate database.
Cut-and-Paste Certificate Enrollment
A user may wish to manually cut-and-paste certificate requests and certificates when he or she does not have a network connection between the router and CA. Cut-and-paste enrollment introduces a new ca-trustpoint configuration subcommand—enrollment, which is in place of the enrollment command that is used for TFTP certificate enrollment. This command should be used when configuring the trustpoint CA. After entering the crypto ca enroll command, the user will be asked the same questions regarding the IP address and serial number as a TFTP enrollment. The base 64 encoded certificate request will then be displayed on the terminal.
Much like the TFTP process, the user enters the crypto ca import command to enter the granted certificate. With cut-and-paste, the base 64 encoded certificate will be accepted from the console terminal. Certificate input ends after the user enters "quit" on a line by itself.
How to Configure Manual Certificate Enrollment
To enable manual certificate enrollment via TFTP or cut-and-paste, you must configure a trustpoint CA and the relevant enrollment tasks. This section contains the following procedures:
•
Configuring Certificate Enrollment via TFTP
•
Configuring Certificate Enrollment via Cut-and-Paste
•
Verifying Manual Certificate Enrollment
Configuring Certificate Enrollment via TFTP
To declare the trustpoint CA that your router should use and configure that trustpoint CA for manual enrollment via TFTP, use the following commands:
Prerequisites
•
You must know the correct URL to use if you are configuring certificate enrollment via TFTP.
•
The router must be able to write a file to the TFTP server for the crypto ca enroll command.
Note
Some TFTP servers require that the file exist on the server before it may be written.
Note
Most TFTP servers require that the file be "write-able" by the world. This requirement may pose a risk because any router or other device may write or overwrite the certificate request; thus, the router will not be able to use the certificate once it is granted by the CA because the request was modified.
SUMMARY STEPS
1.
enable
2.
configure {terminal | memory | network}
3.
crypto ca trustpoint name
4.
enrollment [mode] [retry minutes] [retry number] url url
5.
crypto ca authenticate name
6.
exit
7.
crypto ca enroll name
8.
crypto ca import name certificate
DETAILED STEPS
Configuring Certificate Enrollment via Cut-and-Paste
To declare the trustpoint CA that your router should use and configure that trustpoint CA for manual enrollment via cut-and-paste, use the following commands:
SUMMARY STEPS
1.
enable
2.
configure {terminal | memory | network}
3.
crypto ca trustpoint name
4.
enrollment terminal
5.
crypto ca authenticate name
6.
exit
7.
crypto ca enroll name
8.
crypto ca import name certificate
DETAILED STEPS
What to Do Next
After performing manual certificate enrollment (via TFTP or cut-and-paste), you should always verify your configuration to be sure that you successfully completed all steps. The following section "Verifying Manual Certificate Enrollment" provides steps on how to verify your configuration.
Verifying Manual Certificate Enrollment
To verify that the Manual Certificate Enrollment feature is working, perform the following optional steps:
SUMMARY STEPS
1.
enable
2.
show crypto ca certificates
3.
show crypto ca trustpoints
DETAILED STEPS
Configuration Examples for Manual Certificate Enrollment
This section provides the following configuration examples:
•
Manual Certificate Enrollment Configuration Example
•
Verify Manual Certificate Enrollment Example
Manual Certificate Enrollment Configuration Example
The following example shows how to specify a manual cut-and-paste certificate enrollment via the enrollment terminal subcommand of the crypto ca trustpoint command. In this example, the name of the trustpoint CA is "MS," and the crypto ca import command is entered twice because usage keys (signature and encryption keys) are used.
Router(config)# crypto ca trustpoint MSRouter(ca-trustpoint)# enrollment terminalRouter(ca-trustpoint)# crypto ca authenticate MSEnter the base 64 encoded CA certificate.End with a blank line or the word "quit" on a line by itself-----BEGIN CERTIFICATE-----MIICNDCCAd6gAwIBAgIQOsCmXpVHwodKryRoqULV7jANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNQ2lzY28gU3lzdGVtczESMBAGA1UEAxMJbXNjYS1yb290MB4XDTAyMDIxNDAwNDYwMVoXDTA3MDIxNDAwNTQ0OFowOTELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDUNpc2NvIFN5c3RlbXMxEjAQBgNVBAMTCW1zY2Etcm9vdDBcMA0GCSqGSIb3DQEBAQUAA0sAMEgCQQCix8nIGFg+wvy3BjFbVi25wYoGK2N0HWWHpqxFuFhqyBnIC0OshIn9CtrdN3JvUNHr0NIKocEwNKUGYmPwWGTfAgMBAAGjgcEwgb4wCwYDVR0PBAQDAgHGMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYEFKIacsl6dKAfuNDVQymlSp7esf8jMG0GA1UdHwRmMGQwL6AtoCuGKWh0dHA6Ly9tc2NhLXJvb3QvQ2VydEVucm9sbC9tc2NhLXJvb3QuY3JsMDGgL6AthitmaWxlOi8vXFxtc2NhLXJvb3RcQ2VydEVucm9sbFxtc2NhLXJvb3QuY3JsMBAGCSsGAQQBgjcVAQQDAgEAMA0GCSqGSIb3DQEBBQUAA0EAeuZkZMX9qkoLHfETYTpVWjZPQbBmwNRAoJDSdYdtL3BcI/uLL5q7EmODyGfLyMGxuhQYx5r/40aSQgLCqBq+yg==-----END CERTIFICATE-----Certificate has the following attributes:Fingerprint:D6C12961 CD78808A 4E02193C 0790082A% Do you accept this certificate? [yes/no]:yTrustpoint CA certificate accepted.% Certificate successfully importedRouter(config)#Router(config)#crypto ca enroll MS% Start certificate enrollment..% The subject name in the certificate will be:Router.cisco.com% Include the router serial number in the subject name? [yes/no]:n% Include an IP address in the subject name? [no]:nDisplay Certificate Request to terminal? [yes/no]:ySignature key certificate request -Certificate Request follows:MIIBhTCB7wIBADAlMSMwIQYJKoZIhvcNAQkCFhRTYW5kQmFnZ2VyLmNpc2NvLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxdhXFDiWAn/hIZs9zfOtssKAdaoWYu0ms9Fe/Pew01dh14vXdxgacstOs2Pr5wk6jLOPxpvxOJPWyQM6ipLmyVxvojhyLTrVohrh6Dnqcvk+G/5ohss9o9RxvONwx042pQchFnx9EkMuZC7evwRxJEqRmBHXBZ8GmP3jYQsjS8MCAwEAAaAhMB8GCSqGSIb3DQEJDjESMBAwDgYDVR0PAQH/BAQDAgeAMA0GCSqGSIb3DQEBBAUAA4GBAMT6WtyFw95POY7UtF+YIYHiVRUf4SCqhRIAGrljUePLo9iTqyPU1Pnt8JnIZ5P5BHU3MfgP8sqodaWub6mubkzaohJ1qD06O87fnLCNid5Tov5jKogFHIki2EGGZxBosUw9lJlenQdNdDPbJc5LIWdfDvciA6jONl8rOtKnt8Q+---End - This line not part of the certificate request---Redisplay enrollment request? [yes/no]:Encryption key certificate request -Certificate Request follows:MIIBhTCB7wIBADAlMSMwIQYJKoZIhvcNAQkCFhRTYW5kQmFnZ2VyLmNpc2NvLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwG60QojpDbzbKnyj8FyTiOcvTHkDP7XD4vLT1XaJ409z0gSIoGnIcdFtXhVlBWtpq3/O9zYFXr1tH+BMCRQi3Lts0IpxYa3D9iFPqev7SPXpsAIsY8a6FMq7TiwLObqiQjLKL4cbuV0Frjl0Yuv5A/Z+kqMOm7c+pWNWFdLe9lsCAwEAAaAhMB8GCSqGSIb3DQEJDjESMBAwDgYDVR0PAQH/BAQDAgUgMA0GCSqGSIb3DQEBBAUAA4GBACF7feURj/fJMojPBlR6fa9BrlMJx+2FH91YM/CIiz2n4mHTeWTWKhLoT8wUfa9NGOk7yi+nF/F7035twLfq6n2bSCTW4aem8jLMMaeFxwkrV/ceQKrucmNC1uVx+fBy9rhnKx8j60XE25tnp1U08r6om/pBQABUeNPFhozcaQ/2---End - This line not part of the certificate request---Redisplay enrollment request? [yes/no]:nRouter(config)#crypto ca import MS certificateEnter the base 64 encoded certificate.End with a blank line or the word "quit" on a line by itselfMIIDajCCAxSgAwIBAgIKFN7C6QAAAAAMRzANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNQ2lzY28gU3lzdGVtczESMBAGA1UEAxMJbXNjYS1yb290MB4XDTAyMDYwODAxMTY0MloXDTAzMDYwODAxMjY0MlowJTEjMCEGCSqGSIb3DQEJAhMUU2FuZEJhZ2dlci5jaXNjby5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMXYVxQ4lgJ/4SGbPc3zrbLCgHWqFmLtJrPRXvz3sNNXYdeL13cYGnLLTrNj6+cJOoyzj8ab8TiT1skDOoqS5slcb6I4ci061aIa4eg56nL5Phv+aIbLPaPUcbzjcMdONqUHIRZ8fRJDLmQu3r8EcSRKkZgR1wWfBpj942ELI0vDAgMBAAGjggHMMIIByDALBgNVHQ8EBAMCB4AwHQYDVR0OBBYEFL8Quz8dyz4EGIeKx9A8UMNHLE4sMHAGA1UdIwRpMGeAFKIacsl6dKAfuNDVQymlSp7esf8joT2kOzA5MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNQ2lzY28gU3lzdGVtczESMBAGA1UEAxMJbXNjYS1yb290ghA6wKZelUfCh0qvJGipQtXuMCIGA1UdEQEB/wQYMBaCFFNhbmRCYWdnZXIuY2lzY28uY29tMG0GA1UdHwRmMGQwL6AtoCuGKWh0dHA6Ly9tc2NhLXJvb3QvQ2VydEVucm9sbC9tc2NhLXJvb3QuY3JsMDGgL6AthitmaWxlOi8vXFxtc2NhLXJvb3RcQ2VydEVucm9sbFxtc2NhLXJvb3QuY3JsMIGUBggrBgEFBQcBAQSBhzCBhDA/BggrBgEFBQcwAoYzaHR0cDovL21zY2Etcm9vdC9DZXJ0RW5yb2xsL21zY2Etcm9vdF9tc2NhLXJvb3QuY3J0MEEGCCsGAQUFBzAChjVmaWxlOi8vXFxtc2NhLXJvb3RcQ2VydEVucm9sbFxtc2NhLXJvb3RfbXNjYS1yb290LmNydDANBgkqhkiG9w0BAQUFAANBAJo2r6sHPGBdTQX2EDoJpR/A2UHXxRYqVSHkFKZw0z31r5JzUM0oPNUETV7mnZlYNVRZCSEX/G8boi3WOjz9wZo=% Router Certificate successfully importedRouter(config)#Router(config)#crypto ca import MS certificateEnter the base 64 encoded certificate.End with a blank line or the word "quit" on a line by itselfMIIDajCCAxSgAwIBAgIKFN7OBQAAAAAMSDANBgkqhkiG9w0BAQUFADA5MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNQ2lzY28gU3lzdGVtczESMBAGA1UEAxMJbXNjYS1yb290MB4XDTAyMDYwODAxMTY0NVoXDTAzMDYwODAxMjY0NVowJTEjMCEGCSqGSIb3DQEJAhMUU2FuZEJhZ2dlci5jaXNjby5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMButEKI6Q282yp8o/Bck4jnL0x5Az+1w+Ly09V2ieNPc9IEiKBpyHHRbV4VZQVraat/zvc2BV69bR/gTAkUIty7bNCKcWGtw/YhT6nr+0j16bACLGPGuhTKu04sCzm6okIyyi+HG7ldBa45dGLr+QP2fpKjDpu3PqVjVhXS3vZbAgMBAAGjggHMMIIByDALBgNVHQ8EBAMCBSAwHQYDVR0OBBYEFPDO29oRdlEUSgBMg6jZR+YFRWljMHAGA1UdIwRpMGeAFKIacsl6dKAfuNDVQymlSp7esf8joT2kOzA5MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNQ2lzY28gU3lzdGVtczESMBAGA1UEAxMJbXNjYS1yb290ghA6wKZelUfCh0qvJGipQtXuMCIGA1UdEQEB/wQYMBaCFFNhbmRCYWdnZXIuY2lzY28uY29tMG0GA1UdHwRmMGQwL6AtoCuGKWh0dHA6Ly9tc2NhLXJvb3QvQ2VydEVucm9sbC9tc2NhLXJvb3QuY3JsMDGgL6AthitmaWxlOi8vXFxtc2NhLXJvb3RcQ2VydEVucm9sbFxtc2NhLXJvb3QuY3JsMIGUBggrBgEFBQcBAQSBhzCBhDA/BggrBgEFBQcwAoYzaHR0cDovL21zY2Etcm9vdC9DZXJ0RW5yb2xsL21zY2Etcm9vdF9tc2NhLXJvb3QuY3J0MEEGCCsGAQUFBzAChjVmaWxlOi8vXFxtc2NhLXJvb3RcQ2VydEVucm9sbFxtc2NhLXJvb3RfbXNjYS1yb290LmNydDANBgkqhkiG9w0BAQUFAANBAHaUhyCwLirUghNxCmLzXRG7C3W1j0kSX7a4fX9OxKR/Z2SoMjdMNPPyApuh8SoT2zBPZKjZU2WjcZG/nZF4W5k=% Router Certificate successfully importedVerify Manual Certificate Enrollment Example
The following sample output is displayed after manual certificate enrollment via the enrollment terminal command (cut-and-paste) has been successfully configured:
Router# show crypto ca certificatesCertificateStatus:AvailableCertificate Serial Number:14DECE05000000000C48Certificate Usage:EncryptionIssuer:CN = msca-rootO = Cisco SystemsC = USSubject:Name:Router.cisco.comOID.1.2.840.113549.1.9.2 = Router.cisco.comCRL Distribution Point:http://msca-root/CertEnroll/msca-root.crlValidity Date:start date:18:16:45 PDT Jun 7 2002end date:18:26:45 PDT Jun 7 2003renew date:16:00:00 PST Dec 31 1969Associated Trustpoints:MSCertificateStatus:AvailableCertificate Serial Number:14DEC2E9000000000C47Certificate Usage:SignatureIssuer:CN = msca-rootO = Cisco SystemsC = USSubject:Name:Router.cisco.comOID.1.2.840.113549.1.9.2 = Router.cisco.comCRL Distribution Point:http://msca-root/CertEnroll/msca-root.crlValidity Date:start date:18:16:42 PDT Jun 7 2002end date:18:26:42 PDT Jun 7 2003renew date:16:00:00 PST Dec 31 1969Associated Trustpoints:MSCA CertificateStatus:AvailableCertificate Serial Number:3AC0A65E9547C2874AAF2468A942D5EECertificate Usage:SignatureIssuer:CN = msca-rootO = Cisco SystemsC = USSubject:CN = msca-rootO = Cisco SystemsC = USCRL Distribution Point:http://msca-root/CertEnroll/msca-root.crlValidity Date:start date:16:46:01 PST Feb 13 2002end date:16:54:48 PST Feb 13 2007Associated Trustpoints:MSAdditional References
The following sections provide information related to Manual Certificate Enrollment (TFTP and Cut-and-Paste):
•
MIBs
•
RFCs
Related Documents
Standards
MIBs
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://tools.cisco.com/ITDIT/MIBS/servlet/index
If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
RFCs
Technical Assistance
Command Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.2 command reference publications.
New Commands
Modified Command
crypto ca import
To import a certificate manually via TFTP or cut-and-paste at the terminal, use the crypto ca import command in global configuration mode.
crypto ca import name certificate
Syntax Description
name certificate
Specifies the name of the CA. This name is the same name used when the certification authority (CA) was declared with the crypto ca trustpoint command.
Defaults
No default behavior or values.
Command Modes
Global configuration
Command History
Usage Guidelines
You must enter the crypto ca import command twice if usage keys (signature and encryption keys) are used. The first time the command is entered, one of the certificates is pasted into the router; the second time the command is entered, the other certificate is pasted into the router. (It does not matter which certificate is pasted first.)
Examples
The following example shows how to import a certificate via cut-and-paste. In this example, the CA trustpoint is "MS."
crypto ca trustpoint MSenroll terminalcrypto ca authenticate MS!crypto ca enroll MScrypto ca import MS certificateRelated Commands
Command Descriptioncrypto ca trustpoint
Declares the CA that your router should use.
Specifies the enrollment parameters of your CA.
Specifies manual cut-and-paste certificate enrollment.
enrollment
To specify the enrollment parameters of your certification authority (CA), use the enrollment command in ca-trustpoint configuration mode. To remove any of the configured parameters, use the no form of this command.
enrollment [mode] [retry minutes] [retry number] url url
no enrollment [mode] [retry minutes] [retry number] url url
Syntax Description
Defaults
RA mode is turned off until you enable the mode keyword.
The router will send the CA another certificate request every 1 minute unless otherwise specified.
There is no limit to the number of retries unless you specify a number via retry number.
Your router does not know the CA URL until you specify it via url url.
Command Modes
Ca-trustpoint configuration
Command History
Release Modification12.2(8)T
This command was introduced.
12.2(13)T
The url url option was enhanced to support TFTP enrollment.
Usage Guidelines
Use the mode keyword to specify the mode supported by the CA. This keyword is required if your CA system provides an RA.
Use the retry minutes option to change the retry period from the default of 1 minute between retries. After requesting a certificate, the router waits to receive a certificate from the CA. If the router does not receive a certificate within a period of time (the retry period), the router will send another certificate request. The router will continue to send requests until it receives a valid certificate, until the CA returns an enrollment error, or until the configured number of retries is exceeded. By default, the router will keep sending requests forever, unless you can change this parameter to a finite number using the retry number option.
Use the url url option to specify or change the URL of the CA. You can specify enrollment via SCEP (an HTTP URL) or TFTP (a TFTP URL).
TFTP enrollment is used to send the enrollment request and retrieve the certificate of the CA and the certificate of the router. If the file_specification is included in the URL, the router will append an extension onto the file specification. When the crypto ca authenticate command is entered, the router will retrieve the certificate of the CA from the specified TFTP server. As appropriate, the router will append the extension ".ca" to the filename or the fully qualified domain name (FQDN). (If the url url option does not include a file specification, the router's FQDN will be used.)
Note
The crypto ca trustpoint command deprecates the crypto ca identity and crypto ca trusted-root commands and all related subcommands (all ca-identity and trusted-root configuration mode commands). If you enter a ca-identity or trusted-root subcommand, the configuration mode and command will be written back as ca-trustpoint.
Examples
The following example shows how to declare a CA named "ka" and specify the URL of the CA as "http://kahului:80":
crypto ca trustpoint kaenrollment url http://kahului:80Related Commands
Command Descriptioncrypto ca authenticate
Authenticates the CA (by getting the CA's certificate).
crypto ca trustpoint
Declares the CA that your router should use.
enrollment terminal
To specify manual cut-and-paste certificate enrollment, use the enrollment terminal command in ca-trustpoint configuration mode. To delete a current enrollment request, use the no form of this command.
enrollment terminal
no enrollment terminal
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values.
Command Modes
Ca-trustpoint configuration
Command History
Usage Guidelines
A user may wish to manually cut-and-paste certificate requests and certificates when he or she does not have a network connection between the router and certification authority (CA). When this command is enabled, the certificate request is printed on the console terminal so that it can be manually copied (cut) by the user.
Examples
The following example shows how to specify manually certificate enrollment via cut-and-paste. In this example, the CA trustpoint is "MS."
crypto ca trustpoint MSenroll terminalcrypto ca authenticate MS!crypto ca enroll MScrypto ca import MS certificateRelated Commands
Command DescriptionImports a certificate manually via TFTP or cut-and-paste at the terminal.
crypto ca trustpoint
Declares the CA that your router should use.
Glossary
base 64—A method for encoding binary data in ASCII readable format. The base 64 encoded data may be handled as text instead of binary data.
certificate—A data structure defined in ISO X.509 to associate an entity (a person or a machine) with that entity's public key. The certificate contains specific fields including the name of the entity. The certificate is normally issued by a CA on behalf of the entity. (In this feature, the router acts as its own CA.) Common fields within a certificate include the entity's DN, the DN of the authority issuing the certificate, and the entity's public key.
CA—certification authority. A service responsible for managing certificate requests and issuing certificates to participating IPSec network devices. This service provides centralized key management for the participating devices and is explicitly entrusted by the receiver to validate identities and to create digital certificates.
DN—distinguished name. A name based on the ISO X.500 standard. The DN includes subfields that identify (or distinguish) the entity possessing the DN. Common subfields include the country in which the entity resides, the company and organization where the entity works, and the common name of the entity.
enrollment—The process of obtaining a new certificate from a CA.
PKI—public key infrastructure. Provides trusted and efficient key and certificate management to support security protocols such as IPSec.
trustpoint CA—A CA that combines and replaces the functionality of the identity CA (which uses its own certificate to sign the certificate of a router, thereby validating the identity of the router) and root CA (which has a self-signed certificate that contains its own public key).
Note
Refer to the Internetworking Terms and Acronyms for terms not included in this glossary.

