Skip to content

Commit 3008f43

Browse files
committed
Don't verify cron urls ssl cert it is usually an internal call
1 parent 0bd732a commit 3008f43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ public function callCron($cron_url)
230230
$this->_user_agent = 'sequra-cron';
231231
$this->initCurl($cron_url);
232232
curl_setopt($this->ch, CURLOPT_HTTPGET, 1);
233+
curl_setopt($this->ch, CURLOPT_SSL_VERIFYPEER, false);
233234
$this->sendRequest();
234235
curl_close($this->ch);
235236
}

0 commit comments

Comments
 (0)