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

Ping++创建charge对象报错,提示SSL certificate verify failed #1

Open
kevin-isky opened this issue May 21, 2018 · 1 comment
Labels

Comments

@kevin-isky
Copy link
Owner

Pingpp SDK版本: 2.2.1
Ruby版本:2.3.1

报错信息:

Could not verify Pingpp's SSL certificate. Please make sure that your network is not intercepting certificates. (Try going to (https://api.pingxx.com) in your browser.)
(Network error: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed)

@kevin-isky kevin-isky changed the title Pingpp创建charge对象时报错,提示verify SSL certificate异常 Ping++创建charge对象时报错,提示verify SSL certificate异常 May 21, 2018
@kevin-isky kevin-isky changed the title Ping++创建charge对象时报错,提示verify SSL certificate异常 Ping++创建charge对象报错,提示verify SSL certificate异常 May 21, 2018
@kevin-isky
Copy link
Owner Author

kevin-isky commented May 21, 2018

解决办法有两种(线上环境测试过,都可以正常创建charge对象):

  • 降级Ping++ SDK版本至2.0.15
  • 修改服务器 hosts 文件,绑定 api.pingxx.com 到 121.43.74.100

参考:

@kevin-isky kevin-isky changed the title Ping++创建charge对象报错,提示verify SSL certificate异常 Ping++创建charge对象报错,提示verify SSL certificate异常【已解决】 May 21, 2018
@kevin-isky kevin-isky changed the title Ping++创建charge对象报错,提示verify SSL certificate异常【已解决】 Ping++创建charge对象报错,提示SSL certificate verify failed【已解决】 May 21, 2018
@kevin-isky kevin-isky changed the title Ping++创建charge对象报错,提示SSL certificate verify failed【已解决】 Ping++创建charge对象报错,提示SSL certificate verify failed Aug 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant