Home Tags Symfony

Tag: Symfony

How to disable certificate validation in Symfony Mailer

To disable certificate validation "verify_peer", edit file: symfony/mailer/Transport/Smtp/EsmtpTransportFactory.phpSearch 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...
Chernihiv
clear sky
9.9 ° C
9.9 °
9.9 °
80 %
2.4kmh
9 %
Thu
9 °
Fri
17 °
Sat
10 °
Sun
4 °
Mon
-0 °
Google Translator