Skip to content

Commit 9a568b9

Browse files
author
Eric Perazzo
committed
Add 'ciphers' ssl option as defined in http://php.net/manual/en/context.ssl.php. It can now be passed through driver_options
1 parent 3365fa7 commit 9a568b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/amqp-lib/AmqpConnectionFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ private function establishConnection()
9494
'verify_peer' => $this->config->isSslVerify(),
9595
'verify_peer_name' => $this->config->isSslVerify(),
9696
'passphrase' => $this->getConfig()->getSslPassPhrase(),
97+
'ciphers' => $this->config->getOption('ciphers', ''),
9798
], function ($value) { return '' !== $value; });
9899

99100
$con = new AMQPSSLConnection(

0 commit comments

Comments
 (0)