Closed rtm-ctrlz closed 4 years ago
Personally, I have no objection regarding parameter name change, but this code will not look so neat:
stream_context_set_option($context, ['ssl' => $this->options['tls']])
If you are OK with that - I'll make this change.
Also, should examples/ssl
, test/ssl
, variables in Makefile and filenames for RabbitMQ configs (for tests and examples) directory be renamed?
See #89 ;)
Synced branch jakubkulhan/bunny:master
See #89 ;)
Will have a look at it tomorrow :+1: .
Personally, I have no objection regarding parameter name change, but this code will not look so neat:
stream_context_set_option($context, ['ssl' => $this->options['tls']])
If you are OK with that - I'll make this change.
Also, should
examples/ssl
,test/ssl
, variables in Makefile and filenames for RabbitMQ configs (for tests and examples) directory be renamed?
Yeah this suddenly makes sense looking at #89 🤐 !
Added usage of
stream_context_set_option
for setting SSL options. Added tests with certificate generation and ssl-enabled configuration for RabbitMQ. Added some configuration examples for common use cases seeexamples/ssl
directory. Mentioned SSL support in mainREADME.md
.Some notes:
prior 3.7.0
andsysctl
.Could not connect to...
message.Resolves #77