p2pe tls selfsigncertificate
Command to create a new TLS Self-Signed certificate in PEM encoded format on existing TLS key pair.
On Windows operating systems execute the command from an Administrator Command Prompt. Right-click the Command Prompt and select Run as Administrator.
Linux
Windows
Flags | Description |
---|---|
[--client] |
Path to directory containing extracted service client. (Default . ) |
[--days] |
Certificate validity period (default 365). |
--dns |
Comma separated DNS names as SubjectAltName(s). |
[--out] |
Output directory to write the TLS configuration and certificate files. (Default . ) If omitted, PEM encoded CSR is dumped to stdout. Certificate options include PEM and DER. |
[--password] |
Password for the service. |
--subject |
Subject DN input in openssl style. Example: /CN=example/C=IN/ |
--help |
Help for the command. |
Linux Example
Windows Example