<?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>thread Re: SSL certificate problem: unable to get local issuer certificate in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/43443#M94430</link>
    <description>&lt;P&gt;I'm not expert at the API (Just got started this week) but I ran into the same issue and used the following to resolve locally:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SquareConnect\Configuration::getDefaultConfiguration()-&amp;gt;setSSLVerification(FALSE);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2017 19:55:03 GMT</pubDate>
    <dc:creator>ClickTET</dc:creator>
    <dc:date>2017-07-19T19:55:03Z</dc:date>
    <item>
      <title>SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/40151#M94429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am using Localhost for configuration.&lt;/P&gt;
&lt;P&gt;i am having issue while making transaction.&lt;/P&gt;
&lt;P&gt;"SSL certificate problem: unable to get local issuer certificate"&lt;/P&gt;
&lt;PRE&gt;SquareConnect\ApiException Object
(
    [responseBody:protected] =&amp;gt; 
    [responseHeaders:protected] =&amp;gt; 
    [responseObject:protected] =&amp;gt; 
    [message:protected] =&amp;gt; API call to https://connect.squareup.com/v2/locations/CBASEK8mmvqJBGz6ugnDBxHekt4gAQ/transactions failed: SSL certificate problem: unable to get local issuer certificate
    [string:Exception:private] =&amp;gt; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;Can you please help?&lt;/P&gt;
&lt;P&gt;how can i resolve this issue?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2017 07:24:42 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/40151#M94429</guid>
      <dc:creator>QaisarMalik</dc:creator>
      <dc:date>2017-06-10T07:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/43443#M94430</link>
      <description>&lt;P&gt;I'm not expert at the API (Just got started this week) but I ran into the same issue and used the following to resolve locally:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SquareConnect\Configuration::getDefaultConfiguration()-&amp;gt;setSSLVerification(FALSE);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 19:55:03 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/43443#M94430</guid>
      <dc:creator>ClickTET</dc:creator>
      <dc:date>2017-07-19T19:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/113298#M94431</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Here is how I overcame it (make sure to comment this out as a reminder in production)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Look for:&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;// Create and configure a new API client object&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;$defaultApiConfig&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;new&lt;/SPAN&gt;&lt;SPAN&gt; \SquareConnect\&lt;/SPAN&gt;&lt;SPAN&gt;Configuration&lt;/SPAN&gt;&lt;SPAN&gt;();&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;$defaultApiConfig&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;setAccessToken&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$authzToken&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Add this right after setAccessToken:&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;//localhost testing override ssl&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;$defaultApiConfig&lt;/SPAN&gt;&lt;SPAN&gt;-&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;setSSLVerification&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FALSE&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Mar 2019 17:07:51 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/113298#M94431</guid>
      <dc:creator>AfroCoderElise</dc:creator>
      <dc:date>2019-03-15T17:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/258568#M94432</link>
      <description>&lt;P&gt;where do you change this part of code at?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Mar 2021 11:52:08 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/258568#M94432</guid>
      <dc:creator>daryltan</dc:creator>
      <dc:date>2021-03-27T11:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/258710#M94433</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/361712"&gt;@daryltan&lt;/a&gt; - Not too sure where you can add the code the Sellers are referring to in this thread. Is your SSL on your site not working? If you still need help, can you please provide us with more details?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 00:25:23 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/258710#M94433</guid>
      <dc:creator>sayra</dc:creator>
      <dc:date>2021-03-28T00:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/258737#M94434</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When I placed my index.php file under wamp64/www/square-php-sdk and tried to launch it with localhost, I&lt;/SPAN&gt;&amp;nbsp;am getting the error&amp;nbsp;"&lt;SPAN&gt;Recieved error while calling Square: SSL certificate problem: unable to get local issuer certificate"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 03:50:42 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/258737#M94434</guid>
      <dc:creator>daryltan</dc:creator>
      <dc:date>2021-03-28T03:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/336751#M94435</link>
      <description>&lt;P&gt;How to do it on new API with&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;SquareClient()&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 21:01:32 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/336751#M94435</guid>
      <dc:creator>standa</dc:creator>
      <dc:date>2022-01-28T21:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSL certificate problem: unable to get local issuer certificate</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/337052#M94436</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/424193"&gt;@standa&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks for writing in and welcome to our Seller Community&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Our API support team would be the best point of contact here - reach out via &lt;A href="https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68" target="_blank"&gt;this form&lt;/A&gt; when you get a chance.&amp;nbsp;Please let us know how you go!&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jan 2022 03:08:22 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/SSL-certificate-problem-unable-to-get-local-issuer-certificate/m-p/337052#M94436</guid>
      <dc:creator>Arie</dc:creator>
      <dc:date>2022-01-30T03:08:22Z</dc:date>
    </item>
  </channel>
</rss>

