{"id":553,"date":"2016-08-21T23:22:39","date_gmt":"2016-08-21T21:22:39","guid":{"rendered":"http:\/\/domingorocca.ns0.it\/wordpress\/?p=553"},"modified":"2016-08-21T23:22:39","modified_gmt":"2016-08-21T21:22:39","slug":"jetpackrisolvere-lerrore-register_http_request_failed","status":"publish","type":"post","link":"https:\/\/roccadomenico.it\/wordpress\/jetpackrisolvere-lerrore-register_http_request_failed\/","title":{"rendered":"Jetpack:risolvere l&#8217;errore &#8220;register_http_request_failed"},"content":{"rendered":"<h3>Jetpack activation, fix register_http_request_failed error<\/h3>\n<p>Fix <code class=\" language-text\">\"Jetpack could not contact WordPress.com: register_http_request_failed. This usually means something is incorrectly configured on your web host.\"<\/code> in just a few steps, and you are to able to connect the Jetpack plugin activation:<\/p>\n<ol>\n<li>download the <code>cacert.pem file<\/code> (<a href=\"http:\/\/curl.haxx.se\/ca\/cacert.pem\">http:\/\/curl.haxx.se\/ca\/cacert.pem<\/a>) to your computer<\/li>\n<li>upload <code>cacert.pem<\/code> to your website, preferably to an unwritable location (but readable for the web server, just to protect the file)<\/li>\n<li>download and open the <code>wp-includes\/class-http.php<\/code> file<\/li>\n<li>somewhere around line 1084, within <code class=\" language-php\"><span class=\"token keyword keyword-function\">function<\/span> <span class=\"token function\">request<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/code> of class <code class=\" language-php\">WP_Http_Curl<span class=\"token punctuation\">{<\/span><span class=\"token punctuation\">}<\/span><\/code>, add:<br \/>\n<code class=\" language-php\"><span class=\"token function\">curl_setopt<\/span><span class=\"token punctuation\">(<\/span> <span class=\"token variable\">$handle<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token constant\">CURLOPT_CAINFO<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">\"\/path\/to\/domain\/cacert.pem\"<\/span> <span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/li>\n<li>save and upload the file to the <code>wp-includes\/<\/code> folder<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Jetpack activation, fix register_http_request_failed error Fix &#8220;Jetpack could not contact WordPress.com: register_http_request_failed. This usually means something is incorrectly configured on your web host.&#8221; in just a few steps, and you are to able to connect the Jetpack plugin activation: download the cacert.pem file (http:\/\/curl.haxx.se\/ca\/cacert.pem) to your computer upload cacert.pem to your website, preferably to an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[33],"class_list":["post-553","post","type-post","status-publish","format-standard","hentry","category-informatica","tag-informatica"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts\/553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/comments?post=553"}],"version-history":[{"count":1,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts\/553\/revisions"}],"predecessor-version":[{"id":554,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/posts\/553\/revisions\/554"}],"wp:attachment":[{"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/media?parent=553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/categories?post=553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roccadomenico.it\/wordpress\/wp-json\/wp\/v2\/tags?post=553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}