Skip to content

Commit

Permalink
Merge pull request #101 from davidspiola/master
Browse files Browse the repository at this point in the history
TASK: add settings to control transport ssl checks if necessary
  • Loading branch information
jonnitto authored Dec 8, 2022
2 parents f1f3874 + ce2ab9e commit 3c5a287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Classes/Transfer/RequestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +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']);
$this->browser->setRequestEngine($requestEngine);
}

Expand Down
2 changes: 2 additions & 0 deletions Configuration/Settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Flowpack:
client: default
transfer:
connectionTimeout: 60
sslVerifyPeer: true
sslVerifyHost: true
Neos:
Flow:
persistence:
Expand Down

0 comments on commit 3c5a287

Please sign in to comment.