Reply To: Sonata Stats 1.0.1-4 : mail settings trouble, reports not sent

VitalPBX Community Support Reporting an Issue Sonata Stats 1.0.1-4 : mail settings trouble, reports not sent Reply To: Sonata Stats 1.0.1-4 : mail settings trouble, reports not sent

    giovanni.v
    Participant
    IT
    Up
    0
    Down
    ::

    Roger Gaitan: /usr/share/sonata/queues-stats/backend/storage/logs

    This was helpful!

    [2020-12-23 11:29:09] production.ERROR: stream_socket_enable_crypto(): Peer certificate CN=*.postassl.it' did not match expected CN=smtp.xxxyyy.it' {"exception":"[object] (ErrorException(code: 0): stream_socket_enable_crypto(): Peer certificate CN=*.postassl.it' did not match expected CN=`smtp.xxxyyy.it' at /usr/share/sonata/queues-stats/backend/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:94)

    So I was forced to use another SMTP service to get reports sent successfully despite the fact that the old settings for smtp.xxxyyy.it above works without issues in core pbx settings. Please compare the attached image with the one I posted in the first post.

    My guess is that the code in sonata stats does a strict check on the ssl certificate but the pbx core doesn’t.

    • This reply was modified 1 year ago by giovanni.v.
    Attachments:
    You must be logged in to view attached files.
    0