cURL error 60: SSL: no alternative certificate subject name matches target host name issue

Hello Guys,

I am getting the following error on my Wordpress blog, I am using the Cloudflare’s Flexible certificate:

Here is an error associated with Connecting WordPress Rest API
cURL error 60: SSL: no alternative certificate subject name matches target host name ‘xxx’
Please Flushing rewrite rules or activate WordPress REST API for performance WP-Statistics Plugin Cache / Go Settings->Permalinks

  • Where “xxx” means the domain name.

Could you please check and help me out to resolve it?

Awaiting for your response.

Kind regards,

  • Mitesh

What’s your domain?

1 Like

Hi Eric,

It’s https://www.hostnamaste.com/blog/, please check and let me know.

Where did you get this error? I did a curl and it looks fine.

1 Like

Please check here “https://imgur.com/a/cHw99Nv

That seems an internal connection of the server, that won’t pass through Cloudflare. You need to have a valid certificate on the server if you need to do that.

2 Likes

Hi Matt,

I have checked there is no issue from our server. Do you suggest to get a new Edge Certificate from the Cloudflare would resolve it ?

That won’t solve it if the issue is what I expect. Can you connect to the server directly without passing through Cloudflare? I doubt it. Install a certificate on the server, it must be a valid one.

2 Likes

Any luck sorting this out? I’m having the same issue for a few days already and nothing changed … No idea where to start.

Yes, It was resolved by getting the SSL certificate from CloudFlare and re-install it from cPanel/WHM.

1 Like