stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:

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,

And now your activation mail has been sent successfully.

Thanks …🙏🙏



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amit Kumar

Amit Kumar

Hi I am Amit Experienced Web Developer with a demonstrated history of working in the information technology and services industry.