<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TLS 1.2 test - PHP CURL error 1407742E when submitting request to sandbox in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61700#M36112</link>
    <description>&lt;P&gt;While it seems like you've found a solution, think seriously about whether you want to continue giving business to a hosting provider who thinks so little of security that they'd force you into a set of software that old. There's been many&amp;nbsp;security holes found in just PHP alone since then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no way a solution built on top of that provider's PHP installation is going to be PCI compliant, and I'd suspect the same is true about anything using ASP on that provider as well.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2018 17:33:45 GMT</pubDate>
    <dc:creator>Aaron_Actual</dc:creator>
    <dc:date>2018-02-14T17:33:45Z</dc:date>
    <item>
      <title>TLS 1.2 test - PHP CURL error 1407742E when submitting request to sandbox</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61571#M36000</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting a PHP CURL error when submitting a test transaction to my sandbox account at&amp;nbsp;&lt;A href="https://test.authorize.net/gateway/transact.dll" target="_blank"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;. The error is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that the version of CURL on the server is not configured to work properly with TLS 1.2? From what I can tell from the PHP Info, the CURL version is&amp;nbsp;7.36.0 and SSL Version is&amp;nbsp;OpenSSL/0.9.8. PHP version is&amp;nbsp;5.4.32.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test code looks like below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?php&lt;/P&gt;&lt;P&gt;$url = '&lt;A href="https://test.authorize.net/gateway/transact.dll" target="_blank"&gt;https://test.authorize.net/gateway/transact.dll&lt;/A&gt;';&lt;/P&gt;&lt;P&gt;$ch = curl_init( $url );&lt;BR /&gt;curl_setopt( $ch, CURLOPT_POST, true);&lt;BR /&gt;curl_setopt( $ch, CURLOPT_POSTFIELDS, $vPostData);&lt;BR /&gt;curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true);&lt;BR /&gt;curl_setopt( $ch, CURLOPT_VERBOSE, true);&lt;BR /&gt;$response = curl_exec( $ch );&lt;BR /&gt;if ($response === false) {&lt;BR /&gt;echo "curl_exec failed&amp;lt;br /&amp;gt;";&lt;BR /&gt;trigger_error(curl_error($ch));&lt;BR /&gt;} else {&lt;BR /&gt;echo "response: " . $response;&lt;BR /&gt;}&lt;BR /&gt;curl_close($ch);&lt;/P&gt;&lt;P&gt;?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:54:39 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61571#M36000</guid>
      <dc:creator>jsargent3840</dc:creator>
      <dc:date>2018-02-08T20:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: TLS 1.2 test - PHP CURL error 1407742E when submitting request to sandbox</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61578#M36006</link>
      <description>&lt;P&gt;&lt;SPAN&gt;OpenSSL 0.9.8 does not support TLS 1.2. Painting with a broad brush, TLS 1.2 first appeared in OpenSSL 1.0.1.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 10:19:54 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61578#M36006</guid>
      <dc:creator>NexusSoftware</dc:creator>
      <dc:date>2018-02-09T10:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: TLS 1.2 test - PHP CURL error 1407742E when submitting request to sandbox</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61697#M36109</link>
      <description>&lt;P&gt;Thank you for the information. It would appear we have no PHP solutions that work on the server we are working with. Unfortunately the site is on a hosted server so we are unable to install updates. However, I did discover a sample ASP script that seems to work so we will go with that.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 15:53:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61697#M36109</guid>
      <dc:creator>jsargent3840</dc:creator>
      <dc:date>2018-02-14T15:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: TLS 1.2 test - PHP CURL error 1407742E when submitting request to sandbox</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61700#M36112</link>
      <description>&lt;P&gt;While it seems like you've found a solution, think seriously about whether you want to continue giving business to a hosting provider who thinks so little of security that they'd force you into a set of software that old. There's been many&amp;nbsp;security holes found in just PHP alone since then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no way a solution built on top of that provider's PHP installation is going to be PCI compliant, and I'd suspect the same is true about anything using ASP on that provider as well.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 17:33:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/TLS-1-2-test-PHP-CURL-error-1407742E-when-submitting-request-to/m-p/61700#M36112</guid>
      <dc:creator>Aaron_Actual</dc:creator>
      <dc:date>2018-02-14T17:33:45Z</dc:date>
    </item>
  </channel>
</rss>

