Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This article describes the syntax for how to import a keypair. The hwsetup command line tool, included in Nexus Certificate Manager (CM), is used.
Syntax
Code Block | ||||
---|---|---|---|---|
| ||||
hwsetup -libname <pkcs11lib> [-slot <slot#>] [-pin <PIN>] [-nopinpad] [-id <string>] [-label <string>] [-login user|so] -import <filename> -password <password> |
Options and arguments
For a description of the options libname
, slot
, pin
, nopinpad
, and login
and their arguments, see Generate DSA/EC/RSA key pair.
Options and Arguments | Description |
---|---|
import <filename> | Use import to import an RSA or DSA keypair from a PKCS#12 file to the given slot, id and label. |
password <password> | The password for the PKCS#12 file. |
Examples
To import the file keypair.p12 to slot 1:
Code Block | ||||
---|---|---|---|---|
| ||||
hwsetup -libname crypto -slot 1 -pin abcd -import keypair.p12 -password abcd1234 |
This article is valid from CM 8.0