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
minVersionoption 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.0sets the default to'TLSv1'. Using--tls-min-v1.1sets the default to'TLSv1.1'. Using--tls-min-v1.3sets the default to'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used.