Skip to content

Commit da034d9

Browse files
author
Ashok Argent-Katwala
committed
Revert "Avoid disabling SSL certificate verification."
This reverts commit 43d5f42.
1 parent 43d5f42 commit da034d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/FreshBooksRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ public function request()
163163
curl_setopt($ch, CURLOPT_TIMEOUT, 40); // times out after 40s
164164
curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data); // add POST fields
165165
curl_setopt($ch, CURLOPT_USERPWD, self::$_token . ':X');
166+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
166167

167168
$result = curl_exec($ch);
168169

0 commit comments

Comments
 (0)