SSL: no alternative certificate subject name matches target host name


after a server change of our Matomo installation, errors occur with the plugin connections to Google and Bing through SearchEngineKeywordsPerformance. Here, for example, is the Bing error message:

ERROR [2023-07-22 00:03:06] 1302730  [SearchEngineKeywordsPerformance] Exception while importing Bing crawl issues for curl_exec: SSL: no alternative certificate subject name matches target host name ''. Hostname requested was:

How can I solve the problems?

I would be very thankful for any hint.

Regards, Andreas

Hi @AK_CCM ,

Error suggests that there is a mismatch between the SSL certificate subject name and the target host name “”.

This mismatch can occur due to various reasons, including:

  • The SSL certificate for the website might be misconfigured.
  • The website’s SSL certificate might be expired or revoked.
  • The website might be using a self-signed SSL certificate, which is not recognized by the client (curl).

Could you please investigate around this

Seems like your running a buggy curl-Version causing this issue.

We had this issue on several matomo-installations, mainly running on Ubuntu 22. Installing latest repository-updates fixed this issue.

1 Like

All system updates of Ubuntu 22.04.2 LTS were done:

curl is already the newest version (7.81.0-1ubuntu1.13).

But still no import of search engine keywords are done.

Hi @AK_CCM ,

This issue is not related to the plugin itself and it is confirmed by our devs, please review the bugs related to Curl and Please try to downgrade the version of Curl and see if it fixes the issue