<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem with SSL certificate cURL]]></title><description><![CDATA[<p dir="auto"><strong><img src="https://green-api.com/en/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f464.png?v=bde451f7b76" class="not-responsive emoji emoji-android emoji--bust_in_silhouette" style="height:23px;width:auto;vertical-align:middle" title="👤" alt="👤" /> Author:</strong> EscHelpNew<br />
<strong><img src="https://green-api.com/en/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4ca.png?v=bde451f7b76" class="not-responsive emoji emoji-android emoji--bar_chart" style="height:23px;width:auto;vertical-align:middle" title="📊" alt="📊" /> Status:</strong> 🟢 Open<br />
<strong><img src="https://green-api.com/en/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f3f7.png?v=bde451f7b76" class="not-responsive emoji emoji-android emoji--label" style="height:23px;width:auto;vertical-align:middle" title="🏷" alt="🏷" />️ Tags:</strong> <code>bug</code>, <code>documentation</code><br />
<strong><img src="https://green-api.com/en/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4c5.png?v=bde451f7b76" class="not-responsive emoji emoji-android emoji--date" style="height:23px;width:auto;vertical-align:middle" title="📅" alt="📅" /> Created at:</strong> 06.12.2023, 09:03:09<br />
<strong><img src="https://green-api.com/en/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f504.png?v=bde451f7b76" class="not-responsive emoji emoji-android emoji--arrows_counterclockwise" style="height:23px;width:auto;vertical-align:middle" title="🔄" alt="🔄" /> Updated at:</strong> 12.02.2024, 18:02:05</p>
<hr />
<hr />
<p dir="auto"><strong>Error:</strong><br />
Curl error: SSL certificate problem. The cURL library cannot make a request to the Green-API server. The library certificate is probably out of date.</p>
<p dir="auto"><strong>Level:</strong><br />
SDK</p>
<p dir="auto"><strong>Workaround:</strong><br />
Option 1:</p>
<ol>
<li>
<p dir="auto">Download the <a href="https://curl.haxx.se/docs/caextract.html" rel="nofollow ugc">certificate bundle</a>.</p>
</li>
<li>
<p dir="auto">Put it somewhere. In my case, that was c:\wamp\ directory (if you are using Wamp 64 bit then it's c:\wamp64).</p>
</li>
<li>
<p dir="auto">Enable mod_ssl in Apache and php_openssl.dll in php.ini (uncomment them by removing ; at the beginning). But be careful, my problem was that I had two php.ini files and I need to do this in both of them. One is the one you get from your WAMP taskbar icon, and another one is, in my case, in C:\wamp\bin\php\php5.5.12\</p>
</li>
<li>
<p dir="auto">Add these lines to your cert in both php.ini files:</p>
<p dir="auto">curl.cainfo="C:/wamp/cacert.pem"<br />
openssl.cafile="C:/wamp/cacert.pem"</p>
</li>
<li>
<p dir="auto">Restart Wamp services.</p>
</li>
</ol>
<p dir="auto">Option 2:<br />
append the request code with a string<br />
<code>CURLOPT_SSL_VERIFYPEER =&gt; false</code></p>
<hr />
<p dir="auto"><a href="https://github.com/green-api/issues/issues/372" rel="nofollow ugc">Open on GitHub</a></p>
]]></description><link>https://green-api.com/en/forum/topic/69/problem-with-ssl-certificate-curl</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 11:37:02 GMT</lastBuildDate><atom:link href="https://green-api.com/en/forum/topic/69.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Jun 2026 12:29:27 GMT</pubDate><ttl>60</ttl></channel></rss>