Skip to content

Commit 0138b82

Browse files
committed
[UPDATE] Confirm the certificates CN at least
1 parent d49f807 commit 0138b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/lib/jsonRPCClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function __call($method, $params) {
109109
curl_setopt($ch, CURLOPT_POST, true);
110110
curl_setopt($ch, CURLOPT_POSTFIELDS, $request);
111111
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
112-
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
112+
// curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
113113
$response = curl_exec($ch);
114114
if (curl_errno($ch)) throw new Exception('RPC call failed: ' . curl_error($ch));
115115
if ($this->debug) $this->debug_output[] = 'Response: ' . $response;

0 commit comments

Comments
 (0)