• 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

Unable to guess the mime type as no guessers are available Laravel 5.2

laravel automatically deletes server.php on php artisan serve

Entity provider not working in security.yml php symfony3.4 ({"code":401,"message":"bad credentials"}.)

How to send image,audio or video through the WhatsApp API - PHP

disable two buttons after clicking another button

Laravel Displaying image from database

How to get monthly wise data in laravel

Yii2: How to download backup files using spanjeta/yii2-backup?

Appending data to an anchor tag

XSS attack still works despite htmlspecialchars() doing its work

I'm trying to use curl with php but getting this error:Could not resolve host: Bearer

PHP Discord OAUTH2 code sample not working

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

Create tags in laravel post publishing

WHERE IN array binding in DB::raw laravel 5.4

About Contact Privacy policy Terms and conditions