WooPayments / Jetpack – cURL error 56 – unable to get local issuer certificate

Other Information

Hello,

I am trying to set up WooPayments on my WordPress/WooCommerce website:
https://cecileair.com

WooPayments/Jetpack cannot connect to my site and I get this error:

“The Jetpack server was unable to communicate with your site https://cecileair.com [IXR -32300: transport error: http_request_failed cURL error 56: SSL certificate OpenSSL verify result: unable to get local issuer certificate (20)]”

My WordPress server information is:
PHP: 8.3.19
cURL: 8.21.0
OpenSSL: 1.1.1w

The site’s SSL certificate works correctly in the browser.

I also tested the WordPress REST API:
https://cecileair.com/wp-json/
and it returns JSON correctly.

Could you please check whether there is an issue with the CA certificate bundle or outgoing HTTPS connections from my InfinityFree server?

WooPayments needs to communicate with WordPress.com, but PHP/cURL appears unable to verify the SSL certificate of the remote server.

Thank you.

Intermediate certificates are not included in the SSL certificate here. and this is fine for the majority of browsers.

Additionally, no remove service will be able to cURL or access your site because of the security system. Your site can access external API endpoints, but you can’t host an API endpoint here. I Don’t think that’s what your trying to do, but included it for completeness just in case.

Actually half correct, the major issue is that JetPack cannot connect to the free hosting servers due to the security system. The error message complaining about “SSL certificates”, although also true, is very misleading.

Thank you for the clarification.

I understand now that the SSL error is misleading and that the main issue is the InfinityFree security system preventing Jetpack from connecting to sites hosted on the free hosting.

I am trying to use WooPayments with WooCommerce.

Would upgrading to a paid InfinityFree plan remove this security limitation and allow Jetpack/WooPayments to communicate with my website?

If not, is there any way to make WooPayments work while keeping my website hosted on InfinityFree?

Thank you.

There is no paid plan on InfinityFree

Upgrade to premium hosting