In this tutorial I’m going to solve stream_socket_enable_crypto error please follow some easy steps 👇👇
Go to App\config\mail.php
lets open mail.php file and paste below code.
'stream' => [
'ssl' => [
'allow_self_signed' => true,
'verify_peer' => false,
'verify_peer_name' => false,
],
],
![](https://www.devopsfreelancer.com/blog/wp-content/uploads/2023/07/image-48.png)
Now all configuration is done successfully.
[…] stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: […]