Getting Cavium Private Key

Configure command for getting Cavium private key.

The getCaviumPrivateKey exports a private key from an HSM in fake PEM format.

Open a command prompt and run getCaviumPrivateKey command to retrieve the value for a key.

Command

getCaviumPrivateKey -h -k <key handle> -out <masked object file> 
Parameter Description
-h Displays this information
-k Specifies the private key handle
-out specifies the file to write the exported private key

Example

getCaviumPrivKey -k 266211 -out cavKey.pem
Private Key Handle is written to cavKey.pem in fake PEM format
getCaviumPrivKey returned: 0x00 : HSM Return: SUCCESS