• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

PHP cURL (SSL certificate problem: self signed certificate in certificate chain)

phpwordpresscurlphp-curl


PHP Snippet 1:

curl.cainfo = <absolute_path_to> cacert.pem

PHP Snippet 2:

curl_setopt ($ch, CURLOPT_CAINFO, dirname(__FILE__)."/cacert.pem");

Related Snippets

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

Can't exclude directories from .htaccess mobile redirect?

SQLSTATE[HY000]: General error: 1 table posts has no column named *

Can't find vendor/autoload.php for Ratchet

Laravel dosen't connect with Oracle

How Can I Do LIMIT 1, 2 In WP_Query

Get WooCommerce products from specific category

Display the default discounted price and percentage on Woocommerce products

XML to CSV with PHP converter [problem with images grabing]

Xdebug can't connect back to Docker host

How to implement placeholder in a php file for moodle plugin?

Wordpress add responsive srcset header image to theme

How to get Laravel's CSRF Token from Another Website?

Laravel get user data with profile

The difference when using if statement true === something() vs something() === true [duplicate]

About Contact Privacy policy Terms and conditions