Skip to main content
SecureContextOptions.pfx - node__tls.d.ts - Node documentation
property SecureContextOptions.pfx

Usage in Deno

```typescript import { type SecureContextOptions } from "node:node__tls.d.ts"; ```
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: [, 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