dongqianzhan8325 2012-10-11 17:34
浏览 102

dropbox SDK php无法使用已知的CA证书进行身份验证

I'm trying to use the php dropbox sdk, but i got these error

Uncaught exception 'OAuthException' with message 'making the request failed (Peer certificate cannot be authenticated with known CA certificates)' in C:\xampp\htdocs\mydropbox\Dropbox\OAuth\PHP.php:126 Stack trace: #0 C:\xampp\htdocs\mydropbox\Dropbox\OAuth\PHP.php(126): OAuth->getRequestToken('https://api.dro...') #1 C:\xampp\htdocs\mydropbox\index.php(18): Dropbox_OAuth_PHP->getRequestToken() #2 {main} Next exception 'Dropbox_Exception_RequestToken' with message 'We were unable to fetch request tokens. This likely means that your consumer key and/or secret are incorrect.' in C:\xampp\htdocs\mydropbox\Dropbox\OAuth\PHP.php:132 Stack trace: #0 C:\xampp\htdocs\mydropbox\index.php(18): Dropbox_OAuth_PHP->getRequestToken() #1 {main} thrown in C:\xampp\htdocs\mydropbox\Dropbox\OAuth\PHP.php on line 132

I did tried so many times, to use OpenSSL to generate new and follow all the instruction ,but it still giving me this errors.

Refer Source:http://help.discretelogix.com/miscellaneous/installing-self-signed-ssl-certificate-on-wamp-server.htm

  • 写回答

1条回答 默认 最新

  • drgawfsf1069 2013-01-23 01:59
    关注

    I found a github that do not use the CA certification, or maybe it's already taken care for me.

    https://github.com/BenTheDesigner/Dropbox

    it's working well for me.

    评论

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置