To disable certificate validation "verify_peer", edit file:
symfony/mailer/Transport/Smtp/EsmtpTransportFactory.php
Search line:
if ('' !== $dsn->getOption('verify_peer') && !filter_var($dsn->getOption('verify_peer', true), FILTER_VALIDATE_BOOLEAN)) {
and replace with this line or set true to...