creq new ?b<priv key length> -k<priv key file> -o<cert req file>
For example, to generate a certificate request file called "request.pem" from a private key called
"priv001.pem", enter:
creq new -kpriv001.pem -o request.pem
To generate a 512 bit private key called "private.pem", and generate a certificate request called
"certreq.pem" using that file, enter:
creq new -b512 -kprivate.pem -ocertreq.pem
Key Generation
This page allows you to generate a private key. A private key must be created before a certificate
can be requested as it is used in the request.
Key filename
Enter a name for the private key (the filename must be prefixed with "priv" and have a
".pem" extension).
Key size
The size of the private key in bits. The key size can be one of the following:
•
384
•
512
•
768
•
1024
•
1536
•
2048
The larger the key, the more secure the connection, but also the larger the key
the slower the connection.
Save in SSHv1 format
If this checkbox is checked the private key will be generated in SSH version 1 format. If it is
cleared the private key will be generated in SSH version 2 format.
Related CLI commands
genkey
The
To generate a private key, enter the command:
genkey 0 <keysize> <filename> <-ssh1>
where
<keysize>
<filename> is the name of the private key file.
is optional, and will generate the private key file in SSH version 1 format.
<-ssh1>
Digi TransPort User Guide
command can be used to generate a private key file.
is the size of the key in bits.
Certificate Authorities (CAs)
516