What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Good morning, which config parameters do I have to set to use amqps (or other secure transfer) for t

UMZRJAE7M
UMZRJAE7M Posts: 31 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
edited October 2019 in Help

Good morning,
which config parameters do I have to set to use amqps (or other secure transfer) for the rabbitmq connection?

Comments

  • UMZRJAE7M
    UMZRJAE7M Posts: 31 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    the API connection is successfully using https, but I fail to configure the tcp connection to be secure

  • UMZRJAE7M
    UMZRJAE7M Posts: 31 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    since I get the follwoing error
    PhpAmqpLib\\Connection\\AMQPStreamConnection->__construct('myrtle-iguana.r...', '5671', 'bqg...', '2HaQ...', 'bqg...r', false, 'AMQPLAIN', NULL, 'de_DE', 3, 130, NULL, false, 0, 0, NULL
    I think the solution would be as described here:
    https://lornajane.net/posts/2016/connect-to-rabbitmq-from-php-over-amqps
    Is there a config parameter for this in Spryker?

  • UMZRJAE7M
    UMZRJAE7M Posts: 31 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    RABBITMQ_SCHEME seems not to be the solution

  • From what I can see, \Spryker\Client\RabbitMq\Model\Connection\ConnectionFactory::createAmqpStreamConnection() would be able to use SSL as a protocol if the Option was set in the QueueConnectionTransfer, but in \Spryker\Client\RabbitMq\RabbitMqConfig::getQueueConnectionConfigs there is no config value mapped to it.