Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit ea92f4c

Browse files
committed
MAGETWO-89973: Cannot setup SSL connection to AMQP during magento installation from CLI
1 parent f7154e1 commit ea92f4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Amqp/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function getValue($key)
139139
*/
140140
private function createConnection(): AbstractConnection
141141
{
142-
$sslEnabled = !empty($this->getValue(self::SSL)) && $this->getValue(self::SSL) !== 'false';
142+
$sslEnabled = trim($this->getValue(self::SSL)) === 'true';
143143
$options = new FactoryOptions();
144144
$options->setHost($this->getValue(self::HOST));
145145
$options->setPort($this->getValue(self::PORT));

0 commit comments

Comments
 (0)