1
This commit is contained in:
@@ -75,6 +75,7 @@ class Curl extends ClientAbstracts
|
|||||||
private function curlHandlerSslSet(): void
|
private function curlHandlerSslSet(): void
|
||||||
{
|
{
|
||||||
curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, $this->getVerifyPeer());
|
curl_setopt($this->client, CURLOPT_SSL_VERIFYPEER, $this->getVerifyPeer());
|
||||||
|
curl_setopt($this->client, CURLOPT_VERBOSE, TRUE);
|
||||||
// curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, $this->getVerifyPeer());
|
// curl_setopt($this->client, CURLOPT_SSL_VERIFYHOST, $this->getVerifyPeer());
|
||||||
if (!empty($this->getSslKeyFile()) && file_exists($this->getSslKeyFile())) {
|
if (!empty($this->getSslKeyFile()) && file_exists($this->getSslKeyFile())) {
|
||||||
curl_setopt($this->client, CURLOPT_SSLKEY, $this->getSslKeyFile());
|
curl_setopt($this->client, CURLOPT_SSLKEY, $this->getSslKeyFile());
|
||||||
|
|||||||
Reference in New Issue
Block a user