tls.DEFAULT_MAX_VERSION
- <string>
tls.createSecureContext()的maxVersion选项的默认值。 它可以分配任何支持的 TLS 协议版本,'TLSv1.3'、'TLSv1.2'、'TLSv1.1'或'TLSv1'。 默认值:'TLSv1.3', 除非使用 CLI 选项更改。 使用--tls-max-v1.2将默认设置为'TLSv1.2'。 使用--tls-max-v1.3将默认设置为'TLSv1.3'。 如果提供了多个选项,则使用最高的最大值。
- <string> The default value of the
maxVersionoption oftls.createSecureContext(). It can be assigned any of the supported TLS protocol versions,'TLSv1.3','TLSv1.2','TLSv1.1', or'TLSv1'. Default:'TLSv1.3', unless changed using CLI options. Using--tls-max-v1.2sets the default to'TLSv1.2'. Using--tls-max-v1.3sets the default to'TLSv1.3'. If multiple of the options are provided, the highest maximum is used.