import
certificate/import
Type: Command
| Argument | Type | Description |
|---|---|---|
| name | string | Name for the imported certificate. |
| file-name | file | File to import. The file is deleted after the import. |
| pem | string | import certificate or private key from a pasted PEM string; an encrypted private key is accepted when passphrase is supplied |
| passphrase | string | Passphrase of an encrypted private key or PKCS12 file. |
| trusted | bool | mark as trusted |
| trust-store | alt { all: enum (all) , component: ubit (ipsec, wpa-eap, capsman, fetch, sstp, ovpn, mqtt, email, netwatch, radius, container, userman, lora, wiliot, openflow, tr069, dot1x, dns, www, api, reverse-proxy, logging) } | Services that use the imported certificate as a trusted authority. Default: all. |
| no-key-export | bool | disallow private key export |
| Read-only Argument | Type | Description |
|---|---|---|
| certificates-imported | num | |
| private-keys-imported | num | |
| files-imported | num | |
| decryption-failures | num | |
| keys-with-no-certificate | num | |
| keys-decrypted | num |