Как исправитьstream_socket_enable_crypto(): операция SSL не удалась с кодом 1Php

Кемеровские программисты php общаются здесь
Anonymous
Как исправитьstream_socket_enable_crypto(): операция SSL не удалась с кодом 1

Сообщение Anonymous »


stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed Im using Laravel 4.2, PHP 5.6, Apache 2.4

I have GoDaddy SSL installed in Amazon ec2 Linux.

SSL working fine when i visit the site with https.

The error happened when I call my function :

I read some articles about this, they said that there are things we should make some changes, they put that code but i don't know where to insert it.

Been reading this: https://www.mimar.rs/en/sysadmin/2015/p ... y-default/

and this documentation of php http://php.net/manual/en/migration56.openssl.php which is hard to understand.

So my question is how to solve this problem?


Источник: https://stackoverflow.com/questions/305 ... ith-code-1

Вернуться в «Php»