• 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

Custom post type single page not working

passwordless LDAP login and get user information using Kerberos ticket in PHP

target [LaravelFortifyContractsRegisterViewResponse] is not instantiable

Download & Save Zoom Recording in directory by PHP

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

PHP how to detect if running on arm64 cpu?

How to remove index.php and index from the URL using htaccess | PHP

Doctrine 2 mapping referencing unique key

Show Custom Data in Woocommerce Order Details Admin Area

How in Laravel run JavaScript code stored in php variable?

sort() not affecting original array while inside foreach loop

Yoast SEO (WordPress Plugin) - Get plugin generated data manually

Uploading video to Youtube using Youtube Data API V3 and Google API Client PHP -- getting 401 (unauthorized) message

I want to store data in new index as per my key in php [duplicate]

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

About Contact Privacy policy Terms and conditions