Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/284.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
dropbox SDK php无法使用已知CA证书进行身份验证_Php_Oauth_Ssl Certificate_Dropbox - Fatal编程技术网

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

dropbox SDK php无法使用已知CA证书进行身份验证,php,oauth,ssl-certificate,dropbox,Php,Oauth,Ssl Certificate,Dropbox,我正在尝试使用php dropbox sdk,但出现以下错误 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

我正在尝试使用php dropbox sdk,但出现以下错误

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
我尝试过很多次,使用OpenSSL生成新的,并遵循所有的指令,但它仍然给我这个错误


参考资料来源:http://help.discretelogix.com/miscellaneous/installing-self-signed-ssl-certificate-on-wamp-server.htm

我发现一个github没有使用CA认证,或者它已经为我提供了服务


它对我来说工作得很好。

我发现一个github不使用CA认证,或者它已经为我提供了服务


这对我来说很好。

自签名证书无法验证,因为它们没有经过认可的CA签名。是的,但是如何解决问题??我有一个可信的ca-bundle.crt,我如何指向它并使用它而不是使用服务器。crt@Tjorriemorrie我回答了我的问题。自签名证书无法验证,因为它们不是由认可的CA签名的。是的,但是如何解决问题??我有一个可信的ca-bundle.crt,我如何指向它并使用它而不是使用服务器。crt@Tjorriemorrie我回答了我的问题。。