Tuesday, March 14, 2017

'stream_socket_enable_crypto(): ssl3_get_server_certificate:certificate verify failed' on Laravel 5.3

Here's the error message :
`'stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed', `

I just changed the MAIL_DRIVER from smtp to mail on my laravel env file


MAIL_DRIVER=mail
MAIL_HOST=hyosoka.host.co
MAIL_PORT=587
MAIL_USERNAME=hyosokateam
MAIL_PASSWORD=pass
MAIL_ENCRYPTION=tls
MAIL_DOMAIN='@mail.test.hyosoka.co'

If the problem still persist and if you are using windows, sometimes please disable your antivirus. Because sometimes antivirus is blocking your windows port. Or change the MAIL_PORT to another port, for example 2578, 2525, etc

No comments:

Post a Comment