{"id":978,"date":"2025-03-24T14:28:11","date_gmt":"2025-03-24T14:28:11","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/ayecode-connect-curl-error-60-ssl-certificate-problem-certificate-has-expired\/"},"modified":"2025-04-03T15:24:32","modified_gmt":"2025-04-03T14:24:32","slug":"ayecode-connect-curl-error-60-ssl-certificate-problem-certificate-has-expired","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/troubleshooting\/ayecode-connect-curl-error-60-ssl-certificate-problem-certificate-has-expired\/","title":{"rendered":"AyeCode Connect: cURL error 60: SSL certificate problem: certificate has expired"},"content":{"rendered":"\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-danger mb-3\" role=\"alert\"><span class=\"fas fa-exclamation-triangle me-2\"><\/span><span class=\"flex-grow-1\">cURL error 60: SSL certificate problem: certificate has expired<\/span><\/div>\n\n\n\n<p>If you see the above error then it&#8217;s likely that your server is running an outdated version of OpenSSL that has a bug where it can&#8217;t read newer certificates.<\/p>\n\n\n\n<p>You can check what version of OpenSSL your server is using by going to GeoDirectory &gt; Status &gt; System Status &gt;&nbsp;cURL version.&nbsp; If your version is 1.0.x then it is likely the problem, version 1.1.x do not have this issue.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution<\/h3>\n\n\n\n<p>Ask your server admin or host to update your version of OpenSSL or apply the quick fix below:<\/p>\n\n\n\n<p>Add the following two lines to your wp-config.php file (make sure only to add these ONCE).<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-php\">define( &#039;AYECODE_CONNECT_SSL_VERIFY&#039;, false );\ndefine( &#039;WP_EASY_UPDATES_SSL_VERIFY&#039;, false );<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you see the above error then it&#8217;s likely that your server is running an outdated version of OpenSSL that has a bug where it can&#8217;t read newer certificates. You can check what version of OpenSSL your server is using by going to GeoDirectory &gt; Status &gt; System Status &gt;&nbsp;cURL version.&nbsp; If your version is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,437],"class_list":["post-978","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-troubleshooting"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=978"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/978\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=978"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=978"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}