From 9a568b97660b08108be6d3e5a761407d8e3a0052 Mon Sep 17 00:00:00 2001 From: Eric Perazzo Date: Thu, 1 Nov 2018 10:10:54 -0300 Subject: [PATCH] Add 'ciphers' ssl option as defined in http://php.net/manual/en/context.ssl.php. It can now be passed through driver_options --- pkg/amqp-lib/AmqpConnectionFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/amqp-lib/AmqpConnectionFactory.php b/pkg/amqp-lib/AmqpConnectionFactory.php index f79295352..bede43086 100644 --- a/pkg/amqp-lib/AmqpConnectionFactory.php +++ b/pkg/amqp-lib/AmqpConnectionFactory.php @@ -94,6 +94,7 @@ private function establishConnection() 'verify_peer' => $this->config->isSslVerify(), 'verify_peer_name' => $this->config->isSslVerify(), 'passphrase' => $this->getConfig()->getSslPassPhrase(), + 'ciphers' => $this->config->getOption('ciphers', ''), ], function ($value) { return '' !== $value; }); $con = new AMQPSSLConnection(