douhuike3199 2018-07-06 17:11
浏览 103
已采纳

通过联盟/ flysystem-rackspace使用Rackspace云时,无法识别Peer的证书颁发者

I have an PHP Laravel application that's a couple of years old now. It uploads files to the Rackspace cloud using the package league/flysystem-rackspace which is installed via composer.

Lately I'm seeing the following error when trying to upload files;

CurlException in CurlMulti.php line 338:
[curl] 60: Peer's Certificate issuer is not recognized. [url] https://identity.api.rackspacecloud.com/v2.0/tokens

Why is this happening and how can I resolve it?

I've tried to remove the vendor folder and run composer install, but the server is currently running an old version of PHP 5.6 and composer complains about packages requiring PHP 7.

Would upgrading to PHP 7 and updating all packages fix the problem?

  • 写回答

1条回答 默认 最新

  • dtjpnd7517 2018-07-09 09:39
    关注

    I ended up spooling up a new VM running Ubuntu 18.04, moving my application over to the new server and allowing composing install to update the project dependencies. This resolved the issue.

    The old VM was running Centos 6 and PHP 5.6, which is what was causing the problem.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?