Symfony swiftmailer via smtp gmail on localhost openssl error
问题 After upgrading to php 5.6 (mac os x sierra) I'm not able to send mails on my local test environment. But sadly mail delivery via swiftmailer in Symfony does not work. This is the error: [Symfony\Component\Debug\Exception\ContextErrorException] Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed What I discovered until now: Since php 5.6 openssl seems a requirement: