Enrolls the trustpoint by generating the
Certificate Signing Request (CSR) and exporting it to the remote certificate server.
Syntax
crypto ca enroll{trustpoint-namecert-type{commoncert|https|ssh-x509v3}commoncommon-namecountrycountry-namestatestate-namelocalitylocality-nameorganizationorg-nameorgunitorg-unitdirectorydir-namefilefile-namehosthost-addresssource-ipsource-ipprotocol{FTP |SCP}useruser-namepasswordpassword}
Parameters
trustpoint-name
Defines the name of the trustpoint you are
enrolling. This name needs to be the same as that of the trustpoint created
by the crypto ca
trustpoint command. The string for the name cannot be left
blank. The length of the string can range from 1 through 64 characters.
cert-typecommoncert|https|ssh-x509v3}
Indicates that the certificate is used for
common, HTTPS, or SSH-x509v3 server authentication.
commoncommon-name
Identifies the name used to
connect to the device through HTTPS. Enter a Fully Qualified Domain Name
(FQDN) or IP address. If a FQDN is used, you need to configure a domain name
and name server on the device.
countrycountry-name
Defines the two-letter
country code for generating the CSR.
statestate-name
Defines the state name for
generating the CSR.
localitylocality-name
Defines the locality name for
generating the CSR.
organizationorg-name
Defines the organizational
unit name for generating the CSR.
orgunitorgunit
Defines the name of the
certification file.
directorydir_name
Defines the path of the directory to export the Certificate Signing Request.
filefile-name
Defines the file name of the CSR.
hosthost-address
Specifies the host name or IP address of the
remote certificate server.
source-ipsource-ip
(SCP only) Specifies the source IP address to use in the header.
protocol{FTP|SCP}
Specifies the use of either FTP or SCP protocol for exporting the certification file.
useruser-name
Defines the user name for the host server.
passwordpassword
Defines the password for the user name for the host server.
Note
As a best
practice, do not list the password in the command line for security
purposes. The user will be prompted for the password.
Modes
Privileged EXEC mode
Usage Guidelines
The trustpoint_name name
needs to be the same as that of the trustpoint created by the crypto ca trustpoint
command.
Examples
Typical command example:
device# crypto ca enroll t1 cert-type https country US state CA locality SJ
organization EXT orgunit SFI common myhost.extreme.com protocol SCP host 10.70.12.102
user fvt directory /proj/crypto