--- title: "certificate" slug: "cli-as-certificate" tags: ["Assurance Sensor CLI"] updated: 2025-07-11T14:18:06Z published: 2025-09-04T19:22:30Z canonical: "docs.crossworkassurance.cisco.com/cli-as-certificate" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # certificate ## certificate delete certificate delete - Allows removing SSL certificates from the unit **Description:** certificate delete allows you to remove a SLL certificate present in the unit. **Syntax:** ``` certificate delete {name} ``` **Parameters:** | Parameter | Description | | --- | --- | | name | The common name of the certificate to be removed. | ## certificate export-local certificate delete - Allows removing SSL certificates from the unit **Description:** certificate export allows you to upload a local default or custom TLS certificate to a remote server through scp, ftps, https, or sftp protocol. **Syntax:** ``` certificate export-local { {name } | {type {pkcs7 | PEM | DER}} | {url }}+ ``` **Parameters:** | Parameter | Description | | --- | --- | | name | The name of the local default or custom certificate to export. This name is actually the certificate's common name. | | type | The certificate format being exported. Possible values are: pkcs7, PEM or DER. | | url | URL to reach the server and directory (e.g. scp://:@mypc.com:/certs/certificate.pem) | ## certificate generate-local certificate generate-local - Generate a local certificate. **Description:** certificate generate-local allows the user to generate and activate the local custom self-signed certificate. **Syntax:** ``` certificate generate-local { {country-name } | {state } | {locality } | {organization } | {organizational-unit } | {common-name } | {subject-alternative-names }}+ ``` **Parameters:** | Parameter | Description | | --- | --- | | country-name | The two-letter country code where the organization is located, such as: US, CA. (required) | | state | The state or province where the organization is located. (optional) | | locality | The city or locality where the organization is located. (optional) | | organization | The name of the organization to which the certificate is issued. (required) | | organizational-unit | The division or department within the organization. (optional) | | common-name | A Fully Qualified Domain Name (FQDN) typically represents the domain name for which the certificate is issued. (required) | | subject-alternative-names | A comma-separated list of DNS names. (required) | ## certificate import certificate import - Allows importing SSL certificates into the unit. **Description:** Maximum number of single certificates supported is 10. Maximum number of client/server certificates supported is 5. **Syntax:** ``` certificate import { {type {pkcs7 | pkcs12 | PEM | DER}} | {url } | {passcode}}+ ``` **Parameters:** | Parameter | Description | | --- | --- | | type | The type of the certificate being imported. Possible values are: | | | - pkcs12: Used to import client certificates including the private key and the CA chain of certificates. | | | - pkcs7: Used to import multiple CA certificates. | | | - x509-PEM: Used to import either: - A client or server certificate and its private key. - A single or multiple CA certificate. | | | - x509-DER: Used to import single CA certificates. | | url | URL to reach the server and directory, for example: - `tftp://192.168.1.1/certs/certificate.p7` - `ftp://192.168.1.1/certs/certificate.p7` The URL host subcomponent consists of a name or an IP address. IPv4 addresses must be in dot-decimal notation, and IPv6 addresses must be enclosed in brackets ([]). | | passcode | The passcode to decipher the certificate. Leave blank if the certificate is not encrypted. | ## certificate renew-local certificate renew-local - Renew local certificates **Description:** certificate renew-local allows user to renew the local default or custom certificate. **Syntax:** ``` certificate export-local { certificate renew-local {name } ``` **Parameters:** | Parameter | Description | | --- | --- | | name | The common name of the local default or custom certificate to renew. | ## certificate show certificate show - Show SSL certificates **Description:** Shows a summary of the SSL certificates present in the unit if no name is specified. If a common name is specified, the certificate contents are displayed. **Syntax:** ``` certificate show {[name]} ``` **Parameters:** | Parameter | Description | | --- | --- | | name | The common name of the certificate to be displayed. | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)