User Guide - nxpcertgen
This user’s guide describes how to use nxpcertgen application.
Command line interface
nxpcertgen
Utility for certificate generation.
nxpcertgen [OPTIONS] COMMAND [ARGS]...
Options
- -v, --verbose
Print more detailed information
- -vv, --debug
Display more debugging information.
- --version
Show the version and exit.
- --help
Show this message and exit.
generate
Generate certificate.
nxpcertgen generate [OPTIONS]
Options
- -j, -c, --config <config>
Required Path to yaml/json configuration file containing the parameters for certificate.
- -o, --output <output>
Required Path where certificate will be stored.
- -e, --encoding <encoding>
Encoding type. Default is PEM
- Options
PEM | DER
- --force
Force overwriting of an existing file. Create destination folder, if doesn’t exist already.
get-cfg-template
Generate the template of Certificate generation YML configuration file.
nxpcertgen get-cfg-template [OPTIONS] PATH
Options
- -f, --force
Force overwriting of an existing file. Create destination folder, if doesn’t exist already.
Arguments
- PATH
Required argument
verify
Verify signature or public key in certificate.
nxpcertgen verify [OPTIONS] PATH
Options
- -s, --sign <sign>
Path to key to verify certificate signature
- -p, --puk <puk>
Path to key to verify private key in certificate
Arguments
- PATH
Required argument