{"id":239,"date":"2016-07-29T05:41:40","date_gmt":"2016-07-29T05:41:40","guid":{"rendered":"http:\/\/symbioticindia.in\/docu\/?p=239"},"modified":"2016-07-29T05:41:40","modified_gmt":"2016-07-29T05:41:40","slug":"curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate","status":"publish","type":"post","link":"http:\/\/symbioticindia.in\/docu\/2016\/07\/29\/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate\/","title":{"rendered":"cURL error 60: SSL certificate: unable to get local issuer certificate"},"content":{"rendered":"<p>working solution:<\/p>\n<ul>\n<li>Assuming On windows<\/li>\n<\/ul>\n<blockquote><p>XAMPP server<\/p><\/blockquote>\n<p>similar for other environment &#8211; download and extract for cacert.pem here (a clean file format\/data)<\/p>\n<blockquote><p><a href=\"https:\/\/gist.github.com\/VersatilityWerks\/5719158\/download\">https:\/\/gist.github.com\/VersatilityWerks\/5719158\/download<\/a><\/p><\/blockquote>\n<ul>\n<li>put it here<\/li>\n<\/ul>\n<blockquote><p>C:\\xampp\\php\\extras\\ssl\\cacert.pem<\/p><\/blockquote>\n<ul>\n<li>in your php.ini put this line in this section:<\/li>\n<\/ul>\n<blockquote>\n<pre class=\"lang-php prettyprint prettyprinted\"><code><span class=\"pun\">;;;;;;;;;;;;;;;;;;;;<\/span>\r\n<span class=\"pun\">;<\/span><span class=\"pln\"> php<\/span><span class=\"pun\">.<\/span><span class=\"pln\">ini <\/span><span class=\"typ\">Options<\/span>  <span class=\"pun\">;<\/span>\r\n<span class=\"pun\">;;;;;;;;;;;;;;;;;;;;<\/span><span class=\"pln\">\r\n\r\ncurl<\/span><span class=\"pun\">.<\/span><span class=\"pln\">cainfo <\/span><span class=\"pun\">=<\/span> <span class=\"str\">\"C:\\xampp\\php\\extras\\ssl\\cacert.pem\"<\/span><\/code><\/pre>\n<\/blockquote>\n<ul>\n<li>restart your webserver\/apache<\/li>\n<\/ul>\n<p>Problem solved!<\/p>\n<p>(source: <a href=\"https:\/\/laracasts.com\/discuss\/channels\/general-discussion\/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate\">https:\/\/laracasts.com\/discuss\/channels\/general-discussion\/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-certificate<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>working solution: Assuming On windows XAMPP server similar for other environment &#8211; download and extract for cacert.pem here (a clean file format\/data) https:\/\/gist.github.com\/VersatilityWerks\/5719158\/download put it here C:\\xampp\\php\\extras\\ssl\\cacert.pem in your php.ini put this line in this section: ;;;;;;;;;;;;;;;;;;;; ; php.ini Options ; ;;;;;;;;;;;;;;;;;;;; curl.cainfo = &#8220;C:\\xampp\\php\\extras\\ssl\\cacert.pem&#8221; restart your webserver\/apache Problem solved! (source: https:\/\/laracasts.com\/discuss\/channels\/general-discussion\/curl-error-60-ssl-certificate-problem-unable-to-get-local-issuer-ce..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"http:\/\/symbioticindia.in\/docu\/2016\/07\/29\/curl-error-60-ssl-certificate-unable-to-get-local-issuer-certificate\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,6],"tags":[],"class_list":["post-239","post","type-post","status-publish","format-standard","hentry","category-laravel","category-php"],"_links":{"self":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":1,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/239\/revisions"}],"predecessor-version":[{"id":240,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/posts\/239\/revisions\/240"}],"wp:attachment":[{"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/categories?post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/symbioticindia.in\/docu\/wp-json\/wp\/v2\/tags?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}