cURL error 60: Peer's Certificate issuer is not recognized


I have a Wordpress website and i have installed a plugin WHMpress , when i want to synchronize my wordpress users with WHMCS client i have this error :
cURL error 60: Peer’s Certificate issuer is not recognized.

Can you please help me

Whats the URL you are accessing? Could that be an origin certificate?

hi ,
Thank you for your reply ,
the URL is :
I use Cloudflare origin certificat in my server (Virtualmin)

Well, the host you posted does have a proper certificate, so my guess is the cURL call goes straight to localhost with the origin certificate, which is not recognised by cURL. The clean solution would be to add that certificate (or its root) to cURL’s truststore, alternatively you can also disable the certificate verification.

How can i add this certificate to the cURL’s truststore ?
Or disable the certificate verification , sorry but im not an expert to servers admin and im using a wordpress plugin so i dont know where can i find the code , thank’s for your help

Thats a question rather for than for here.

This topic was automatically closed after 30 days. New replies are no longer allowed.