Import a keypair
This article is valid from CM 8.0.
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
Syntax: Import keypair
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 |
password <password> | The password for the PKCS#12 file. |
Examples
To import the file keypair.p12 to slot 1:
Example: import the file keypair.p12 to slot 1
hwsetup -libname crypto -slot 1 -pin abcd -import keypair.p12 -password abcd1234
Copyright 2024 Technology Nexus Secured Business Solutions AB. All rights reserved.
Contact Nexus | https://www.nexusgroup.com | Disclaimer | Terms & Conditions