Hi,
My Mautic version is: v4.4.9.
Is there a way to specify the peer_name for SSL/TLS communication.
I want to avoid errors like these:
stream_socket_enable_crypto(): Peer certificate CN=mail.example.com' did not match expected CN=
localhost’.
I want to set “localhost” for SMTP host instead of the FQDN for my specific workflow.
For example, in PHPMailer we can define the peer_name with this:
$mailInstance->SMTPOptions = array(
‘ssl’ => array(
‘peer_name’ => ‘mail.example.com’,
)
);
I haven’t found such a config in local.php or in the settings in the UI admin panel of Mautic.