Import certificate
To import a certificate for a keypair:
smctl cert import <flag>
표 1. Flags for importing a certificate
Shortcut | Flag | Description |
---|---|---|
--der | Import certificate in | |
--set-as-default | Set this certificate as the default certificate for the keypair specified. | |
--account-id string | Account ID for the user. Format: --account-id="<value>" | |
-h | --help | Help for import command. |
Example
Description: Import the certificate for the given keypair ID and specified certificate alias.
Command:
smctl certificate import <keypair-id> <certificate-alias> <certificate-file>
Command sample:
smctl certificate import keypair-dynamic-alias kp1-cert-alias C:\Users\Name\Desktop\certificate_name.crt