@@ -1198,12 +1198,12 @@ changes:
1198
1198
` object.passphrase ` if provided, or ` options.passphrase ` if it is not.
1199
1199
* ` maxVersion ` {string} Optionally set the maximum TLS version to allow. One
1200
1200
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 ` ] [ ] .
1202
1202
* ` minVersion ` {string} Optionally set the minimum TLS version to allow. One
1203
1203
of ` TLSv1.2' ` , ` 'TLSv1.1' ` , or ` 'TLSv1' ` . Cannot be specified along with the
1204
1204
` secureProtocol ` option, use one or the other. It is not recommended to use
1205
1205
less than TLSv1.2, but it may be required for interoperability.
1206
- ** Default:** ` 'TLSv1' ` .
1206
+ ** Default:** [ ` tls.DEFAULT_MIN_VERSION ` ] [ ] .
1207
1207
* ` passphrase ` {string} Shared passphrase used for a single private key and/or
1208
1208
a PFX.
1209
1209
* ` 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
1359
1359
default value is ` 'auto' ` . See [ ` tls.createSecureContext() ` ] for further
1360
1360
information.
1361
1361
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
+
1362
1382
## Deprecated APIs
1363
1383
1364
1384
### Class: CryptoStream
0 commit comments