GuzzleHttpdefault_ca_bundle

Returns the default cacert bundle for the current system.

Description

(string) GuzzleHttp\default_ca_bundle(); 

First, the openssl.cafile and curl.cainfo php.ini settings are checked. If those settings are not configured, then the common locations for bundles found on Red Hat, CentOS, Fedora, Ubuntu, Debian, FreeBSD, OS X and Windows are checked. If any of these file locations are found on disk, they will be utilized.

Note: the result of this function is cached for subsequent calls.

Returns (string)


Usage

  1. if ( !function_exists( 'GuzzleHttp\default_ca_bundle' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'w3-total-cache/lib/Azure/GuzzleHttp/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = GuzzleHttp\default_ca_bundle(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/lib/Azure/GuzzleHttp/functions.php