src/Autodiscover.php
public function setCAInfo($path)
    {
        if (file_exists($path) && is_file($path)) {
            $this->cainfo = $path;
        }

        return $this;
    }
public function setCAInfo($path)
    {
        if (file_exists($path) && is_file($path)) {
            $this->cainfo = $path;
        }

        return $this;
    }
public function setCAInfo ( $ path ) { if ( file_exists ( $ path ) && is_file ( $ path ) ) { $ this -> cainfo = $ path ; } return $ this ; }
Set the path to the file to be used by CURLOPT_CAINFO.

@param string $path
Path to a certificate file such as cacert.pem
@return self
Set the path to the file to be used by CURLOPT_CAINFO .