tls.DEFAULT_MIN_VERSION
-
<string>
tls.createSecureContext()
的minVersion
选项的默认值。可以为其分配任何受支持的 TLS 协议版本:'TLSv1.3'
、'TLSv1.2'
、'TLSv1.1'
或'TLSv1'
。默认值:'TLSv1.2'
,除非使用 CLI 选项进行更改。使用--tls-min-v1.0
将默认设置为'TLSv1'
。使用--tls-min-v1.1
将默认设置为'TLSv1.1'
。使用--tls-min-v1.3
将默认设置为'TLSv1.3'
。如果提供多个选项,则使用最低的最小值。¥<string> The default value of the
minVersion
option oftls.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.