I did some debugging and while requesting to Cloudflare,
wp_remote_post(‘https://challenges.cloudflare.com/turnstile/v0/siteverify’, $headers)
this was the request body
{“method”:”POST”,”timeout”:5,”redirection”:5,”httpversion”:”1.0″,”reject_unsafe_urls”:false,”blocking”:true,”headers”:[],”cookies”:[],”body”:{“secret”:”—–“,”response”:”——“},”compress”:false,”decompress”:true,”sslverify”:true,”sslcertificates”:”/www\/wp-includes\/certificates\/ca-bundle.crt”,”stream”:false,”filename”:null,”limit_response_size”:null,”_redirection”:5}
“cURL error 60: Peer’s Certificate issuer is not recognized.” error was shown.