@@ -1198,12 +1198,12 @@ changes:
11981198 `object.passphrase` if provided, or `options.passphrase` if it is not.
11991199 * `maxVersion` {string} Optionally set the maximum TLS version to allow. One
12001200 of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
1201- `secureProtocol` option, use one or the other. **Default:** `'TLSv1.2'` .
1201+ `secureProtocol` option, use one or the other. **Default:** [`tls.DEFAULT_MAX_VERSION`][] .
12021202 * `minVersion` {string} Optionally set the minimum TLS version to allow. One
12031203 of `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
12041204 `secureProtocol` option, use one or the other. It is not recommended to use
12051205 less than TLSv1.2, but it may be required for interoperability.
1206- **Default:** `'TLSv1'` .
1206+ **Default:** [`tls.DEFAULT_MIN_VERSION`][] .
12071207 * `passphrase` {string} Shared passphrase used for a single private key and/or
12081208 a PFX.
12091209 * `pfx` {string|string[]|Buffer|Buffer[]|Object[]} PFX or PKCS12 encoded
@@ -1359,6 +1359,26 @@ The default curve name to use for ECDH key agreement in a tls server. The
13591359default value is `'auto'`. See [`tls.createSecureContext()`] for further
13601360information.
13611361
1362+ ## tls.DEFAULT_MAX_VERSION
1363+ <!-- YAML
1364+ added: v10.6.0
1365+ -->
1366+
1367+ * {string} The default value of the `maxVersion` option of
1368+ [`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
1369+ protocol versions, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
1370+ **Default:** `'TLSv1.2'`.
1371+
1372+ ## tls.DEFAULT_MIN_VERSION
1373+ <!-- YAML
1374+ added: v10.6.0
1375+ -->
1376+
1377+ * {string} The default value of the `minVersion` option of
1378+ [`tls.createSecureContext()`][]. It can be assigned any of the supported TLS
1379+ protocol versions, `TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`.
1380+ **Default:** `'TLSv1'`.
1381+
13621382## Deprecated APIs
13631383
13641384### Class: CryptoStream
0 commit comments