public function enableCertification($certificatepath, $certificatepassword, $selfsigned = false) { $this->local_cert_path = $certificatepath; $this->local_cert_pwd = $certificatepassword; $this->allow_self_signed = $selfsigned; }