How To Guides > Edge Cache > CLI: Certificates

CLI: Certificates

You can use the crypto command to import keys and certificates.

Configuring Certificates and Keys

crypto certificate [generate|import|setkey]

crypto key import

To import a certificate or key in PEM format:

crypto {certificate|key} import <name> pem data "<pem-data>"

To generate a self-signed certificate:

crypto certificate generate self-signed <cert-name> instance {<instance-name>|exinda-autogen}

To assign a key to a certificate:

crypto certificate setkey <certificate_name> {key|test}

< Previous: CLI: Edge Cache