SSL certificate problem: certificate has expired

In this article

A lot of websites are using a global certificate, which expired on September 30 2021. This creates an issue when you are trying to connect to our API. 

Check the error

Go to our Help center and under Possible Conflicts press the Test connection button, your page will get refreshed with an error log inside the Debug information part. That log will contain a similar error:

* SSL certificate problem: certificate has expired
or:
* SSL certificate problem: unable to get local issuer certificate

Solution

Turn off curl api connection

Go to our Framework settings and turn off 'Use Curl'. This way instead of curl, file_get_contents will be used. But this function has limitations on some servers, so if it still won't work out, check out the next solutions.

Error only displays during update

This issue is connected to a certain OpenSSL version and a WordPress certificate problem. You can learn more about it here. To solve this problem, update your wp-includes/certificates/ca-bundle.crt file with the content you can find here: https://github.com/WordPress/WordPress/blob/master/wp-includes/certificates/ca-bundle.crt

(This fix will be released in WordPress 5.9.)

Error displays at other actions too, like during template slider importing

⚠️ Warning: Server related problems need to be solved by the host. We're unable to provide support for server management.

To resolve this problem, you should contact your server host and ask them to insert a new cacert.pem file into their servers, and configure it within their php.ini file. That way your website won't use the globally accessible certificate anymore, but it will have its own.

☝️ Note: The SSL certificate the host needs to update is not your site's certificate, but the server's so called "root certificate". The communication between two websites can only happen via https and that uses a different certificate than the communication between the browser and the website.
So even if you have a valid certificate for your site for the SSL connection between the site and browser, you can still have another, expired certificate on the server that's used when your site communicates with other websites. If you receive the 60SSL certificate problem: certificate has expired error that means the server's root certificate has expired, and the host needs to update that.

You could also send them the link that explains the problem: https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/ and tell them it's impacting you as well.

Solution on localhost servers (with WampServer example)

1

Download this cacert.pem file.

2

Place this file into your PHP folder. Like if you are using  php7.4.9, put the file here:
C:\wamp64\bin\php\php7.4.9

3

Open the php.ini file of the server (left click on the Wamp icon → PHP → php.ini):

4

Find this line: ;curl.cainfo

5

Change it to where your cacert.pem file is: curl.cainfo = "C:\wamp64\bin\php\php7.4.9\cacert.pem"

6

Make sure you remove the ; sign at the beginning of the line!

7

Save the php.ini file.

8

Restart Wamp, and the problem should be fixed!

Solution on MAMP - Mac localhost server

1
Download this cacert.pem file.
2
Replace your MAMP server's file with it: /Applications/MAMP/Library/OpenSSL/certs/cacert.pem
3
Restart MAMP, and the problem should be fixed!
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.