setCaFile() public method

public setCaFile ( string $ca_file )
$ca_file string
Esempio n. 1
0
 /**
  * withCertificateAuthorityDirectory
  *
  * Path to CA file. A Certificate Authority file is required for any secure connections to Riak
  *
  * @param $ca_file
  *
  * @return $this
  *
  */
 public function withCertificateAuthorityFile($ca_file)
 {
     $this->config->setCaFile($ca_file);
     return $this;
 }