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

Amit Kumar
Apr 22, 2021

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 β€¦πŸ™πŸ™

--

--

Amit Kumar

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