tls.DEFAULT_MIN_VERSION
-
<string>
tls.createSecureContext()的minVersion选项的默认值。可以为其分配任何受支持的 TLS 协议版本:'TLSv1.3'、'TLSv1.2'、'TLSv1.1'或'TLSv1'。TLSv1.2 之前的版本可能需要降级 OpenSSL 安全级别。默认值:'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'. Versions before TLSv1.2 may require downgrading the OpenSSL Security Level. 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.