Home >

Utilities Reference Guide > Certificate Management Utility (CMU) > cmu export

cmu export

This function exports an X.509 certificate from the token or HSM to a file. The supported formats are Raw (binary) and PEM (base 64 encoding).

Syntax

cmu export

Required Parameters

Parameter Description
-handle=<handle#> The handle to the X.509 certificate to be exported from the HSM to a file. The parameter "-handle" is followed by an equal sign "=", followed by the handle of the object (no spaces).
-outputfile This mandatory parameter defines the name of the file that receives the certificate.

Optional Parameters

Parameter Description
-binary

This is an optional parameter that defines the exported certificate format to be raw binary instead of the default PEM (base64) encoding.

Example

The following command outputs the certificate with handle 7 to file test.cer in PEM format:

cmu export -handle=7 -output=test.cer