Use this command to import a signed certificate provided by the Certification Authority (CA). The imported certificate must be based on a certificate request created by the crypto certificate request Privileged EXEC command. Enter an external certificate (signed by the Certification Authority) to the switch. To end the session, add a period on a separate line after the input, and press Enter. The signed certificate must contain the switch public key, match the RSA key on the switch, and must be in X509 PEM text format.
Format | crypto certificate 1-2 import |
Mode | Global Config |
Example: The following example imports a certificate signed by the Certification Authority for HTTPS.
(Routing)(Config)#crypto certificate 1 import Please paste the input now, add a period (.) on a separate line after the input, and press Enter. -----BEGIN CERTIFICATE----- MIIBrDCCARWgAwIBAgIJANi+zML5qmloMA0GCSqGSIb3DQEBCwUAMBgxFjAUBgNV BAMMDTEwLjEzMC44Ni4yMTcwHhcNNzAwMTAxMDM0MzM3WhcNNzEwMTAxMDM0MzM3 WjAYMRYwFAYDVQQDDA0xMC4xMzAuODYuMjE3MIGfMA0GCSqGSIb3DQEBAQUAA4GN ADCBiQKBgQCZsOyuz2MlQ8ab+Y9vcRgqJdakeL8z4XLNRRDlAsNcOE6GXwskDrT8 hx0r7MywrO4J6bPfqG2t63ee3KUyPS+B6OdxwmNycRwbUZabxD87MmBwx9OtUULY AkNCUKXG6I9kxUXry4CNbOmFtVpTHDr+xqWbmpQemRjB3VpUXOueewIDAQABMA0G CSqGSIb3DQEBCwUAA4GBAHycAeQZv80Vxcw+hWFNsWePkD6VdM8o3ecV9kcCcFuV SreKkICC6HBuPKVxqcoVoGbBiRSMGcDJ4XD9vEWWHZv1QiIn8Z1jy+OSpEAruIOi myM3O5c1eG/4baIci1ccIJgWjwxZwAPd6kz+OtXHhWLn/+Y2akg3sev6oXTLTCsv -----END CERTIFICATE----- . Certificate imported successfully (Routing)(Config)#