|
NAMEwinpr-makecert - A tool to create X.509 certificates.SYNOPSISwinpr-makecert [-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]DESCRIPTIONwinpr-makecert is a tool for generating X.509 certificates modeled after the Windows command MakeCert. winpr-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 winpr-makecerts help. In contrast to it's Windows counterpart winpr-makecert 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.
Without further options the generated certificates have the following properties: * 2048 bit long
OPTIONS
EXAMPLESwinpr-makecert -rdpCreates 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. winpr-makecert -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). EXIT STATUS
SEE ALSOMakeCert help page ⟨URL: https://msdn.microsoft.com/library/windows/desktop/aa386968.aspx ⟩AUTHORFreeRDP <team@freerdp.com>
Visit the GSP FreeBSD Man Page Interface. |