server
server copied to clipboard
Fix RabbitMQ Certificate Connection Bug
When connecting to RabbitMQ with certificate and key, it is necessary to define the credentials object in the amqp.connect function.
This object is now conditionally applied when the client configuration contains cert, key, and ca.
Without this change, onlyoffice cannot connect to external RabbitMQ clusters that only enable secure connection with certificates.