property

tls.BunConnectionOptions.cert

cert?: string | TypedArray<ArrayBufferLike> | Buffer<ArrayBufferLike> | BunFile | unknown[]

Cert chains in PEM format. Provide one cert chain per private key. Each chain consists of the PEM certificate for its private key, followed by the PEM intermediate certificates (if any) in order, not including the root CA (the root CA must be pre-known to the peer, see ca). Multiple cert chains do not have to be in the same order as their private keys in key. Without the intermediate certificates, the peer cannot validate the certificate and the handshake fails.