1(2017-01-11) | 1(2017-01-11) |
- A tool to create X.509 certificates.
[-rdp] [-silent] [-live] [-format { crt | pem | pfx }] [-p password] [-n common_name] [-y years] [-m months] [-len length] [-# serial] [-a { md5 | sha1 | sha256 | s384 | sha512 }] [-path outputpath] [outputname]
is a tool for generating X.509 certificates modeled after the Windows command MakeCert. aims to be command line compatible with MakeCert however not all options are supported or implemented yet.
Unimplemented features are not described here. They are marked as "Unsupported" in s help.
In contrast to it's Windows counterpart does, unless the
-live option is given, always creates and save a certificate. If
outputname isn't set it is tried to determine the host name of the
computer the command is run on.
Warning: if the file already exists it will be overwritten without
asking.
Without further options the generated certificates have the following properties:
* 2048 bit long
* sha256 as hash algorithm
* the detected host name is used as common name
* a time stamp is used as serial number
* validity period of one year
* saved in the current working directory in crt format
-rdp
Creates a certificate with the default properties, saved to a file in the current working directory in crt format named like the host. If the host is named freerdp the created files are called freerdp.key and freerdp.crt.
-len 4096 -a sha384 -path /tmp -# 22 -m 144 -y 1 -format crt mycert
The command above creates the file /tmp/mycert.pem containing a key and a certificate with a length of 4096. It will use sha384 as hash algorithm. The certificate has the serial number 22 and is valid for 12 years (144 months).
MakeCert help page ⟨URL: https://msdn.microsoft.com/library/windows/desktop/aa386968.aspx ⟩
FreeRDP <team@freerdp.com>
3.5.1 | FreeRDP |