Skip to content

Commit fcc1b77

Browse files
committed
Merge pull request #6 from elad661/patch-1
Verify TLS connection
2 parents cad894e + c389004 commit fcc1b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MaxCDN.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private function execute($selected_call, $method_type, $params) {
5252

5353
//return the transfer as a string
5454
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
55-
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER , FALSE);
55+
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER , TRUE);
5656

5757
// set curl timeout
5858
curl_setopt($ch, CURLOPT_TIMEOUT, 60);

0 commit comments

Comments
 (0)