enroll terminal
Syntax
enroll terminal
Description
Generates a key pair and certificate signing request (CSR) for the current leaf certificate. Use the CSR to obtain a signed certificate from a certificate authority (CA), and then import the certificate onto the switch with the command
import terminal
.
The key type, and the certificate common name in the subject fields of the current leaf certificate must be completed before running this command.
Command context
config-cert-<CERT-NAME>
Authority
Administrators
Example
Enrolling the leaf certificate leaf-cert:
switch(config-cert-leaf-cert)# enroll terminal You are enrolling a certificate with the following attributes: Subject: C=US, ST=CA, L=Rocklin, OU=Site, O=Comp, CN=Leaf01 Key Type: RSA (2048) Continue (y/n)? y -----BEGIN CERTIFICATE REQUEST----- MIIBozCCAQwCAQAwYzEVMBMGA1UEAxMMcG9kMDEtODQwMC0xMQ4wDAYDVQQLEwV nViYTEMMAoGA1UEChMDSFBFMRIwEAYDVQQHEwlSb3NldmlsbGUxCzAJBgNVBAgT NBMQswCQYDVQQGEwJVUzCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAtKcLS ... GBAJ4L3lFFfWBEL+KAKpOGjZcVmwlBMqSKFtOFNF9nzmUmONmU3SKy6dzQ+6ynR 7Au22mf3lWDxzrtCC/dj5RtWJeJekxp2LCIK/3eRXUwbYveQDKcxH7j9ZB+BAp2 ace+2tA68F2vlgRCQ/hcQH0YmNuaq4Ne3w0dhm7HlUrx -----END CERTIFICATE REQUEST----- switch(config-cert-leaf-cert)#