diff --git a/Classes/Transfer/RequestService.php b/Classes/Transfer/RequestService.php index 280a135..29a7be1 100644 --- a/Classes/Transfer/RequestService.php +++ b/Classes/Transfer/RequestService.php @@ -67,8 +67,8 @@ public function initializeObject() { $requestEngine = new CurlEngine(); $requestEngine->setOption(CURLOPT_TIMEOUT, $this->settings['transfer']['connectionTimeout']); - $requestEngine->setOption(CURLOPT_SSL_VERIFYPEER, $this->settings['transfer']['sslVerifyPeer']); - $requestEngine->setOption(CURLOPT_SSL_VERIFYHOST, $this->settings['transfer']['sslVerifyHost']); + $requestEngine->setOption(CURLOPT_SSL_VERIFYPEER, $this->settings['transfer']['sslVerifyPeer'] ?? true ? 2 : 0); + $requestEngine->setOption(CURLOPT_SSL_VERIFYHOST, $this->settings['transfer']['sslVerifyHost'] ?? true ? 2 : 0); $this->browser->setRequestEngine($requestEngine); }