Forrest logo
back to the cmctl tool

cmctl:tldr:04333

cmctl: Create a new certificate request based on an existing certificate.
$ cmctl create certificaterequest my-cr --from-certificate-file ${cert-yaml}
try on your machine

This command uses the cmctl command-line tool to create a certificate request with the name "my-cr".

The create certificaterequest part is the command to create a certificate request in the tool.

my-cr is the name given to the certificate request. You can replace this with your desired name.

--from-certificate-file is an option used to specify that the certificate request should be created from a file.

${cert-yaml} is a placeholder for the file path of a YAML file containing the certificate details. You need to replace this placeholder with the actual file path in your command. The YAML file must contain the necessary information to generate the certificate request, such as the subject, key type, and key size.

Once you've replaced the placeholders and executed the command, the cmctl tool will create a certificate request with the given name using the information provided in the YAML file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the cmctl tool