SecureContextOptions.pfx - Node documentation
property SecureContextOptions.pfx

Usage in Deno

import { type SecureContextOptions } from "node:tls";

PFX or PKCS12 encoded private key and certificate chain. pfx is an alternative to providing key and cert individually. PFX is usually encrypted, if it is, passphrase will be used to decrypt it. Multiple PFX can be provided either as an array of unencrypted PFX buffers, or an array of objects in the form {buf: <string|buffer>[, passphrase: ]}. The object form can only occur in an array. object.passphrase is optional. Encrypted PFX will be decrypted with object.passphrase if provided, or options.passphrase if it is not.

Type

string
| Buffer
| Array<
string
| Buffer
| PxfObject
>

| undefined