ssl_ciphers
最后更新于:2022-04-02 06:22:40
# ssl\_ciphers
启用SSL后,设置`ssl_ciphers`来改变`openssl`默认的加密算法。Swoole底层默认使用`EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH`
~~~
$server->set(array(
'ssl_ciphers' => 'ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP',
));
~~~
* `ssl_ciphers`设置为空字符串时,由`openssl`自行选择加密算法
';