• 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

Why rand() every time I refresh the page?

Is there an equivalent of DynamoDB on Azure as a PHP session Handler

Composer fails with kylekatarnls/update-helper on new homestead

Show only featured products in Woocommerce shop page

How to get transaction details in notify_url page in paypal

PHP Get value from JSON [duplicate]

How to change 'users' auth table and use another instead Laravel

Converting array to string and then back in PHP

Valet, Xdebug after reboot Big Sur not working

How can I remove the "Advanced" panel of all blocks in WordPress block editor?

Cannot retrieve error message using Symfony HttpClient if the response is not "ok"

Display a success custom notice after Placing an Order in WooCommerce

How to run a shell as root from php (apache)

Transpose multidimensional array and join values with commas

Display the default discounted price and percentage on Woocommerce products

About Contact Privacy policy Terms and conditions