x509-cert-chain

File containing the server certificate chain

Syntax

--x509-cert-chain path

Description

x509-cert-chain specifies the server certificate chain file. It contains one or more PEM-format certificates. The chain begins with the server certificate. The server certificate is followed by a chain of untrusted certificates. To use the certificate chain file, specify the x509-private-key.

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

Note

Do not specify trusted certificates in the certificate chain file.

Parameters

path

Path to the certificate chain file. Relative and absolute paths are valid.

Examples

The instance loads the certificate chain from cert_chain.pem which is located at instance_root/x509.

--x509-cert-chain ./x509/cert_chain.pem