jakubkulhan / bunny

Performant pure-PHP AMQP (RabbitMQ) sync/async (ReactPHP) library
MIT License
699 stars 102 forks source link

feat: add support for SSL/TLS #89

Closed rtm-ctrlz closed 4 years ago

rtm-ctrlz commented 4 years ago

Added usage of stream_context_set_option for setting SSL/TLS options. Added tests with certificate generation and SSL/TLS-enabled configuration for RabbitMQ. Added some configuration examples for common use cases see examples/tls directory. Mentioned SSL/TLS support in main README.md.

Some notes:

Resolves #77

WyriHaximus commented 4 years ago

For future reference: Went with #88 instead of this PR, because it looks neater