使用 [--tls-cipher-list][--tls-cipher-list]


¥Using --tls-cipher-list

你还可以使用 --tls-cipher-list=DEFAULT@SECLEVEL=X 从命令行设置安全级别和密码,如 修改默认的 TLS 密码套件 中所述。但是,通常不鼓励使用命令行选项来设置密码,最好在应用代码中为各个上下文配置密码,因为这种方法提供了更精细的控制并降低了全局降低安全级别的风险。

¥You can also set the security level and ciphers from the command line using the --tls-cipher-list=DEFAULT@SECLEVEL=X as described in Modifying the default TLS cipher suite. However, it is generally discouraged to use the command line option for setting ciphers and it is preferable to configure the ciphers for individual contexts within your application code, as this approach provides finer control and reduces the risk of globally downgrading the security level.