Всем добрый день. Проблема с отправкой писем. Если отправляю из коммандной строки так
sudo php /var/www/legaltaxi/app/console swiftmailer:email:send --from="noreply@mmlive.ru" --to="test@test.ru" --subject="Test" --body="Test"
то письмо уходит, а если от любого другого пользователя, например без sudo, или sudo -u то выходит ошибка
[2017-06-01 03:41:03] php.DEBUG: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed {"type":2,"file":"/mnt/var/www/legaltaxi/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":266,"level":4352} []
[2017-06-01 03:41:03] php.DEBUG: stream_socket_client(): Failed to enable crypto {"type":2,"file":"/mnt/var/www/legaltaxi/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":266,"level":4352} []
[2017-06-01 03:41:03] php.DEBUG: stream_socket_client(): unable to connect to ssl://qeep.pro:465 (Unknown error) {"type":2,"file":"/mnt/var/www/legaltaxi/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php","line":266,"level":4352} []
В чем проблема ?