public function withCertificateAuthorityDirectory($ca_directory) { $this->config->setCaDirectory($ca_directory); return $this; }