Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3917

Symfony Mailer TLS Certificate Name Validation Error

$
0
0

How can I turn off name validations in symfony/mailer TLS connections. I am getting the following error.

Warning: stream_socket_enable_crypto(): Peer certificate CN=smtp.somename.com' did not match expected CN=smtp.someothername.com'

In swift mailer I can simply set verify_peer_name to false. How do you do it with the new symfony/mailer?


Viewing all articles
Browse latest Browse all 3917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>