Skip to main content
CommonConnectionOptions.rejectUnauthorized - tls - Node documentation
property CommonConnectionOptions.rejectUnauthorized

Usage in Deno

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

If true the server will reject any connection which is not authorized with the list of supplied CAs. This option only has an effect if requestCert is true.

Type

boolean | undefined