If you are getting one of the errors below, you are in the right place.
- stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\n error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
- return stream_socket_enable_crypto($this->stream, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
Solution: Go to the app / config / mail.php file and add the lines below to the end of the file.
- 'stream' => [
- 'ssl' => [
- 'verify_peer' => false,
- 'verify_peer_name' => false,
- 'allow_self_signed' => true,
- ],
- ],
Let's go to the directory where our project is located and clear the Cache.
php artisan config:cache