I installed Official Twilio PHP API Librarie via composer ( "twilio/sdk": "~3.12" ).
When I trying use API ( for example send an SMS ) using Test Credentials I get the error:
Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in ..vendor/twilio/sdk/Services/Twilio/HttpStream.php line 62
If I trying send SMS in terminal using curl - everything is OK.
How it may be fixed without editing Twilio PHP API Librarie code?