Skip to content

Commit 147875f

Browse files
committed
[amqp-lib] Use ssl pass pharse option.
1 parent 51be82e commit 147875f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/amqp-lib/AmqpConnectionFactory.php

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private function establishConnection()
9393
'local_pk' => $this->config->getSslKey(),
9494
'verify_peer' => $this->config->isSslVerify(),
9595
'verify_peer_name' => $this->config->isSslVerify(),
96+
'passphrase' => $this->getConfig()->getSslPassPhrase(),
9697
], function ($value) { return '' !== $value; });
9798

9899
$con = new AMQPSSLConnection(

0 commit comments

Comments
 (0)