Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cURL error 60: SSL certificate problem: unable to get local issuer certificate #14

Open
ZhiyangLeeCN opened this issue May 4, 2017 · 2 comments

Comments

@ZhiyangLeeCN
Copy link

调用single_send方法发送短信抛出了这个异常,请问是不是接口那边的证书有问题?

php版本:7.1.2
composer版本:1.3.2
yunpian/yunpian-php-sdk : "~1.0"

@dzh
Copy link
Contributor

dzh commented May 4, 2017

服务端的证书应没有问题,测试使用正常。暂时还不确定引起这个异常的原因

@nullsimon
Copy link

解决方案有二:

  1. 参考url链接
    https://stackoverflow.com/questions/21114371/php-curl-error-code-60

2.更改请求链接为非https 改为http

更改 source/yunpian.ini 里的https 为http

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants