Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Cannot communicate securely with peer: no common encryption algorithm(s)
Hi there, I have a question, my vps Centos 7 works fine but I recently upload a php script that allows payments with paypal via REST, unfourtnately, always receive next exception:
Fatal error: Uncaught exception ‘PayPal\Exception\PayPalConnectionException’ with message 'Cannot communicate securely with peer: no common encryption algorithm(s).’ in **/*/paypal/paypal/rest-api-sdk-php/lib/PayPal/Core/PayPalHttpConnection.php:137
I tested the script in a couple of servers more and everything works fine, I don’t know if there’s a configuration I’m missing.
Can anyone help me with this? I don’t know what can be the problem.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×