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?