Home Tags Peer

Tag: peer

Symfony

How to disable certificate validation in Symfony Mailer

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...
Google Translator