Skip to main content
DEFAULT_MIN_VERSION - node__tls.d.ts - Node documentation
variable DEFAULT_MIN_VERSION

Usage in Deno

```typescript import { DEFAULT_MIN_VERSION } from "node:node__tls.d.ts"; ```
The default value of the `minVersion` option of `createSecureContext()`. It can be assigned any of the supported TLS protocol versions, `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. **Default:** `'TLSv1.2'`, unless changed using CLI options. Using `--tls-min-v1.0` sets the default to `'TLSv1'`. Using `--tls-min-v1.1` sets the default to `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to `'TLSv1.3'`. If multiple of the options are provided, the lowest minimum is used.

Type