SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

后端 未结 9 1169
走了就别回头了
走了就别回头了 2020-12-01 07:03

After upgrading to PHP 5.6 I get an error when trying to connect to a server via fsockopen()..

The certificate on the server (host) is self-signed

9条回答
  •  隐瞒了意图╮
    2020-12-01 07:49

    If you are using macOS sierra there is a update in PHP version. you need to have Entrust.net Certificate Authority (2048) file added to the PHP code. more info check accepted answer here Push Notification in PHP using PEM file

提交回复
热议问题