summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-xlib/private/util.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index a744644b39c..e20de308e87 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -902,6 +902,8 @@ class OC_Util {
// for this self test we don't care if the ssl certificate is self signed and the peer cannot be verified.
$client->setVerifyPeer(false);
+ // also don't care if the host can't be verified
+ $client->setVerifyHost(0);
$return = true;
try {