import terminal
Syntax
import terminal ta-profile <TA-NAME>
Description
Imports a leaf certificate. The certificate must match a CSR that was previously generated with the command
enroll terminal
and must be signed by the CA whose root certificate is installed in the specified TA profile. The TA profile must exist and have a TA certificate configured.
The certificate must be in PEM format starting with the line:
-----BEGIN CERTIFICATE-----
And ending with the line:
-----END CERTIFICATE-----
After executing the command, paste the certificate when prompted.
Parameters
ta-profile <TA-NAME>
- Specify the name of the TA profile into which to import the leaf certificate. Range: 1 to 32 alphanumeric characters (excluding ").
Command context
config-cert-<CERT-NAME>
Authority
Administrators
Example
Importing the leaf certificate my-leaf-cert into the TA profile my-root-cert:
switch(config-cert-my-leaf-cert)# import terminal ta-profile my-root-cert Paste the certificate in PEM format below, then hit enter and ctrl-D: witch(config-cert-import)# -----BEGIN CERTIFICATE----- switch(config-cert-import)# MIIFtDCCA5ygAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAl switch(config-cert-import)# MQswCQYDVQQIDAJOWTESMBAGA1UECgwJTXlDb21wYW55MQ4wDAYDVQQLDAVVbm switch(config-cert-import)# QTEZMBcGA1UEAwwQTXlJbnRlcm1lZGlhdGUwMTEtMCsGCSqGSIb3DQEJARYebX switch(config-cert-import)# bnRlcm1lZGlhdGUwMUBteWNvbXBhbnkuY29tMB4XDTE4MTExOTIzMDgxNVoXDT switch(config-cert-import)# MTEyOTIzMDgxNVowXjELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAk5ZMQswCQYDVQ switch(config-cert-import)# DAJOWTESMBAGA1UECgwJTXlDb21wYW55MQ4wDAYDVQQLDAVVbml0QTERMA8GA1 switch(config-cert-import)# AwwITXlMZWFmMDEwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCRnt switch(config-cert-import)# owVr/lucflbdUUXc/QLsNrmtBiOLUYUhs57FHwzuco/YYxBMfpMoW1Yn2gkG0m switch(config-cert-import)# HOUC5EwLRY5VLRGzFUrzxA1r+sh9WJgbcClpkdmoRD4j5ZbcvevcL5GwysJF6a switch(config-cert-import)# XLs1LrjBkuctEjuSv4Nixi/+59FxVbjeNLEh/Ko0Hwk3feOMJKk7VpyIgQKjhf switch(config-cert-import)# bzqZgxiSoHW/Pm+Jjo1iVMJtferteBnlWZKboKcZii7djTJpiiDXspANHzbaIG switch(config-cert-import)# qeznc+HDm1KSC/JNXXc3sE4MTQMNwkBbejRsvJW0Vji2aNUdnUS30WpB9hFCL3 switch(config-cert-import)# QNm1QNWflJJIU+VlAgMBAAGjggFPMIIBSzAJBgNVHRMEAjAAMBEGCWCGSAGG+E switch(config-cert-import)# AQQEAwIGQDAzBglghkgBhvhCAQ0EJhYkT3BlblNTTCBHZW5lcmF0ZWQgU2Vydm switch(config-cert-import)# IENlcnRpZmljYXRlMB0GA1UdDgQWBBQ7pcC0a/s2DhbZwMD47F8Ih/q4TTCBsQ switch(config-cert-import)# VR0jBIGpMIGmgBS6jZx3VIK9uTg+UXBBUHBl00819aGBiaSBhjCBgzELMAkGA1 switch(config-cert-import)# BhMCVVMxCzAJBgNVBAgMAk5ZMQswCQYDVQQHDAJOWTESMBAGA1UECgwJTXlDb2 switch(config-cert-import)# YW55MQ4wDAYDVQQLDAVVbml0QTERMA8GA1UEAwwITXlSb290MDExIzAhBgkqhk switch(config-cert-import)# 9w0BCQEWFG15cm9vdDAxQGNvbXBhbnkuY29tggIQADAOBgNVHQ8BAf8EBAMCBa switch(config-cert-import)# EwYDVR0lBAwwCgYIKwYBBQUHAwEwDQYJKoZIhvcNAQELBQADggIBAIkFWXW6pI switch(config-cert-import)# vBwNhVEz67+y7dj2JEzLo8oSYid7M1z1iL5TRCx2+hXIFK737cUW0aKfkdBOK1 switch(config-cert-import)# sZtKyKm45TddfA30fFzbT1wv9Dh9ZPwFbldrM1HTkUfZrk/px4D6YxI1f/YS69 switch(config-cert-import)# 0guGFoupZgHqlbGn28xOATg+Zoo+bx49ZcQ8JWXQHU52P6FefLrg8tOCPrvsrz switch(config-cert-import)# NtAkHuVe4veIf3EV2/jKNnzctriKkjJn60v3wD25fI1jMcsNSDHCd/ifyfhT18 switch(config-cert-import)# RC38HqGeX1+z5J9jYyIfoa+pok+3pcLLVFk4Y7UEyhhZMSLx52utMBsBsUHz7J switch(config-cert-import)# hvr/aQdSyd1xDc9Nk9axyQKamObJ8Xfzh4+5E0MXmqhiqVDN2fSVbqNkt0M/M7 switch(config-cert-import)# v0wOI3mdlZBAhUbvH9JZOFhHjtkZEwcG9r4HczAHwZTx7EjNPxECtwVJfZYIHQ switch(config-cert-import)# VqaL9oqjlgs3/hb+Pho1ACyEA6Q4U5pDQkoOHGQ9TmoxhbplF+8+QgnubBDQXn switch(config-cert-import)# ySCSooqEJCk85yjP+b2LbZ2K+Rpa6D33Pmq0cPgzc2dvuk0LiGaTmdm7oTGHLP switch(config-cert-import)# +OU9Se+h/czKbL8wDzyO5b13RDF4jb+Wutqu+6TXqsS6e0gKgma9GSliXTOhbk switch(config-cert-import)# ozg7xXIe7zmY8cBwgQKPTMrx/fK6et0U switch(config-cert-import)# -----END CERTIFICATE----- switch(config-cert-import)# -----BEGIN CERTIFICATE----- switch(config-cert-import)# MIIF7zCCA9egAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwgYMxCzAJBgNVBAYTAl switch(config-cert-import)# MQswCQYDVQQIDAJOWTELMAkGA1UEBwwCTlkxEjAQBgNVBAoMCU15Q29tcGFueT switch(config-cert-import)# MAwGA1UECwwFVW5pdEExETAPBgNVBAMMCE15Um9vdDAxMSMwIQYJKoZIhvcNAQ switch(config-cert-import)# FhRteXJvb3QwMUBjb21wYW55LmNvbTAeFw0xODExMTkyMjU5MjRaFw0yODExMT switch(config-cert-import)# MjU5MjRaMIGIMQswCQYDVQQGEwJVUzELMAkGA1UECAwCTlkxEjAQBgNVBAoMCU switch(config-cert-import)# Q29tcGFueTEOMAwGA1UECwwFVW5pdEExGTAXBgNVBAMMEE15SW50ZXJtZWRpYX switch(config-cert-import)# MDExLTArBgkqhkiG9w0BCQEWHm15aW50ZXJtZWRpYXRlMDFAbXljb21wYW55Lm switch(config-cert-import)# bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBANwIKb394MF9YQ25T5 switch(config-cert-import)# XSbEfeoCw/XY6oEYFUnpFA2ctZJdoID4jeDNldx8aH54wXdvT3QjHmufyyk4fb switch(config-cert-import)# 9xxg773dCkiMWpjWj5fFltJQT+TCRsiBDZ7rQTGmuUX2tgO6RDilKKR4YrlgJB switch(config-cert-import)# pX6jW0RRnVewmdPuaBg2lQEVf+SQ+UEoJHXzdTh3aB50dOpRCPY0HSaxHUm0Np switch(config-cert-import)# ovXicjkeqs2q2U+hG/14JXUoD87cID3bed3UP94dmjZanAi/mt9DPjLkutKHMk switch(config-cert-import)# tKUqLf//U7iz45eLjkZz73ojylJwf9qAl737xNbCE2Kl5ATu4tEzcVTc8cCfnh switch(config-cert-import)# FEEu41Dsx15U9dSyJTkXJrl0dCYAt8cNgkmLvTdHFRqaPl4BC1eCKOjYvQ8gbD switch(config-cert-import)# L/IoarFyCjwufcX1iI3EJYDPdG7UJHla676TETdCurxrWG9L6CLNVpm11uXAeV switch(config-cert-import)# LACmk61Qszv4W+pkorKI8bkfuvvZdxD6fHndghf1H/D6hRgOK100FTzNDjf1La switch(config-cert-import)# XVpaq3I5Y3CTUArrvlJq3e+JhmXVsWU//aI6oCJpEMc/onvD0b/iKJ6WycdZLQ switch(config-cert-import)# fXZqevBtOBSbjYK2oaMVKooHJh9lPOnuC+5LNmbTaTPDfgxsakfQipGr4CrmPP switch(config-cert-import)# z72VNgQ52850hvZawha1k8SjAgMBAAGjZjBkMB0GA1UdDgQWBBS6jZx3VIK9uT switch(config-cert-import)# UXBBUHBl00819TAfBgNVHSMEGDAWgBQRIifaVFnWR7XDIqRq536jcruplTASBg switch(config-cert-import)# HRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsFAA switch(config-cert-import)# AgEAJE9D51TVeetOAGurpcmcm76pGCuIW18ZI86l47C5eFDzK4/j77/91ud/nT switch(config-cert-import)# wXpAnf728BMtg9SCozaYiccpvf5fZEv4dGKId4evd6RtzuslJuL1zI/mqo0vSl switch(config-cert-import)# Cxr/eGOCV28EbqeZbkeT3e+QJSe2iiFbngdbjLwer/tMg0YKHLpLUgypsoT990 switch(config-cert-import)# Y4UfbwdnjPg8GjIG8vEZJboLYOsp9CZZExI9EeoAzVZ3+GYyi3GElq8VtmB+3I switch(config-cert-import)# fYfFbmbWvZ3GQn+KJUqhOoUwGb0n9hDEhKQdDMGo+frLd1tNNrhYYlzFOR6Uig switch(config-cert-import)# kMKHezTH0mqSPdAf+uKeDSt3yE1XN3tiNQkT2uvWIV0evOJqrracaHPVJZ/+p4 switch(config-cert-import)# KIFOBFmoXBF8TdvD4IYlu7h2fK/3/3+ekrQJiv3qXVWyXBapvgbwcl5Kn6z5gH switch(config-cert-import)# Gy823pii5fGDmDCXbJxRK6CYO4tmdA15QMYX2h0Cw/K+GVh45h4qDIxpvFiygK switch(config-cert-import)# kgOS85Vgq7mgwKL8SNVI8nFGLfiqqNNfWTt/SbiuZ9u2aXW7EDDq8s1zrvmYSQ switch(config-cert-import)# jI80WlNUMeeZ2zpVHMFgoJNbnL8KoWjbB6qlE9SoApkl/aL724rgx/1bVAiaeu switch(config-cert-import)# /ZeSl0/TFWjoU21m2WhsWuVZ4MC7WhaB86iIlp3jBeDO6Co= switch(config-cert-import)# -----END CERTIFICATE----- switch(config-cert-import)# Leaf certificate is validated with my-root-cert and imported successfully. switch(config-cert-my-leaf-cert)#