CmdID

CmdID / Commands

certtool

Generate and manage X.509 certificates, keys, and PKI structures using GnuTLS. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Generate a private key and save it to a file

certtool --generate-privkey --outfile path/to/private.keyIdentify

Generate a self-signed certificate using a private key and a template file

certtool --generate-self-signed --load-privkey path/to/private.key --template path/to/info.template --outfile path/to/certificate.crtIdentify

Generate a certificate signing request (CSR)

certtool --generate-request --load-privkey path/to/private.key --template path/to/info.template --outfile path/to/request.csrIdentify

Generate a certificate authority (CA) certificate

certtool --generate-self-signed --load-privkey path/to/ca.key --template path/to/ca.template --outfile path/to/ca.crtIdentify

Verify a certificate against a CA certificate

certtool --verify --infile path/to/certificate.crt --load-ca-certificate path/to/ca.crtIdentify