Skip to content

Commit ca0e43b

Browse files
committed
MAGETWO-61531: Paypal SSL Curl communication error, TLS 1.2 required for https://*.paypal.com
- modifying curl adapter to force 1.2
1 parent b78fb0c commit ca0e43b

File tree

1 file changed

+2
-0
lines changed
  • lib/internal/Magento/Framework/HTTP/Adapter

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/HTTP/Adapter/Curl.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class Curl implements \Zend_Http_Client_Adapter_Interface
2828
),
2929
'verifypeer' => true,
3030
'verifyhost' => 2,
31+
'sslversion' => 6
3132
];
3233

3334
/**
@@ -53,6 +54,7 @@ class Curl implements \Zend_Http_Client_Adapter_Interface
5354
'protocols' => CURLOPT_PROTOCOLS,
5455
'verifypeer' => CURLOPT_SSL_VERIFYPEER,
5556
'verifyhost' => CURLOPT_SSL_VERIFYHOST,
57+
'sslversion' => CURLOPT_SSLVERSION,
5658
];
5759

5860
/**

0 commit comments

Comments
 (0)