diff --git a/wchat/common/HttpClient.php b/wchat/common/HttpClient.php index e5a828a..8e97896 100644 --- a/wchat/common/HttpClient.php +++ b/wchat/common/HttpClient.php @@ -633,6 +633,11 @@ class HttpClient curl_setopt($ch, CURLOPT_USERAGENT, $this->agent); } + if (!empty($this->ssl_cert_file)) { + var_dump($this->getSslCertFile()); + var_dump($this->getSslKeyFile()); + } + curl_setopt($ch, CURLOPT_SSLCERT, $this->getSslCertFile()); curl_setopt($ch, CURLOPT_SSLKEY, $this->getSslKeyFile()); curl_setopt($ch, CURLOPT_NOBODY, FALSE);