x509-private-key

File containing the private key in PEM format

Syntax

--x509-private-key path

Description

x509-private-key specifies the path to the private key. The key must be in PEM format.

If you do not set this property, the server instance does not load the private key or the server-side certificates.

Starting in R2019b, if https is enabled on the server, you must set the x509-private-key and x509-cert-chain properties; otherwise, the server fails to start.

Parameters

path

Path to the PEM-format private key file. Relative and absolute paths are valid.

Examples

The instance loads the private key from private_key.pem, which is located at instance_root/x509.

--x509-private-key ./x509/private_key.pem