workbunny / webman-rabbitmq

🚀🐇 A PHP implementation of RabbitMQ Client for webman plugin.
https://www.workerman.net/plugin/67
MIT License
23 stars 4 forks source link

amqps协议 配置文件怎么改 #17

Closed timelessonly closed 7 months ago

chaz6chez commented 9 months ago

你要问的是amqp+ssl是吗?

timelessonly commented 9 months ago

是的

chaz6chez commented 9 months ago

不过,你可以尝试一下,在配置app.php中增加以下看看是否生效

    'ssl'       => [
        'cafile'        => 'ca.pem',
        'local_cert'  => 'client.cert',
        'local_pk'    => 'client.key',
    ],