GMail fsockopen(): SSL operation failed error with Codeigniter and XAMPP

后端 未结 1 891
名媛妹妹
名媛妹妹 2020-11-27 22:42

Error message 1: Message: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certifi

相关标签:
1条回答
  • 2020-11-27 23:15

    In my case, the Avast Antivirus was blocking the port. I was using the SMTP port 465 for sending an email from my CodeIgniter project. It showed an error:

    fsockopen() failed to enable crypto

    Simply disabling the Avast Antivirus solved the problem.

    Alternative Solution

    But if you want to keep your Avast security on, you should:

    • Open Avast

    • Click on Settings (upper right corner of page)

    • Click on Troubleshooting

    • Click on Redirect Settings

    • Clear the port you used from Redirect Settings's MAIL section

    • Click OK

    • Close Avast

    0 讨论(0)
提交回复
热议问题