<?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 SSL error connecting to API using Ruby SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-error-connecting-to-API-using-Ruby-SDK/m-p/74437#M46258</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've written this up in detail here but haven't gotten any replies:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/65432376/why-am-i-getting-ssl-error-with-authorize-net-sdk" target="_blank"&gt;https://stackoverflow.com/questions/65432376/why-am-i-getting-ssl-error-with-authorize-net-sdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the following Authorize.net code and getting an SSL error. We're connecting to the Sandbox for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;```&lt;BR /&gt;request = CreateCustomerProfileRequest.new&lt;BR /&gt;request.profile = CustomerProfileType.new&lt;BR /&gt;request.profile.merchantCustomerId = id&lt;BR /&gt;request.profile.description = name&lt;BR /&gt;response = trx.create_customer_profile(request)&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;#&amp;lt;OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)&amp;gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble figuring out what the problem is. My version of `openssl` is 1.1.1h. My partner's machine is not having an issue with the same code.&lt;/P&gt;&lt;P&gt;Not sure if the issue is in a sub-library, or our networks or what. He is using libressl (can't remember the version).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also not sure if the cert mentioned is mine or one in one of my libs...&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 08:13:22 GMT</pubDate>
    <dc:creator>idance08</dc:creator>
    <dc:date>2020-12-24T08:13:22Z</dc:date>
    <item>
      <title>SSL error connecting to API using Ruby SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-error-connecting-to-API-using-Ruby-SDK/m-p/74437#M46258</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've written this up in detail here but haven't gotten any replies:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/65432376/why-am-i-getting-ssl-error-with-authorize-net-sdk" target="_blank"&gt;https://stackoverflow.com/questions/65432376/why-am-i-getting-ssl-error-with-authorize-net-sdk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the following Authorize.net code and getting an SSL error. We're connecting to the Sandbox for now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;```&lt;BR /&gt;request = CreateCustomerProfileRequest.new&lt;BR /&gt;request.profile = CustomerProfileType.new&lt;BR /&gt;request.profile.merchantCustomerId = id&lt;BR /&gt;request.profile.description = name&lt;BR /&gt;response = trx.create_customer_profile(request)&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;BR /&gt;#&amp;lt;OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self signed certificate in certificate chain)&amp;gt;&lt;BR /&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having trouble figuring out what the problem is. My version of `openssl` is 1.1.1h. My partner's machine is not having an issue with the same code.&lt;/P&gt;&lt;P&gt;Not sure if the issue is in a sub-library, or our networks or what. He is using libressl (can't remember the version).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also not sure if the cert mentioned is mine or one in one of my libs...&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 08:13:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/SSL-error-connecting-to-API-using-Ruby-SDK/m-p/74437#M46258</guid>
      <dc:creator>idance08</dc:creator>
      <dc:date>2020-12-24T08:13:22Z</dc:date>
    </item>
  </channel>
</rss>

