diff options
author | kondou <kondou@ts.unde.re> | 2014-04-13 05:21:29 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-04-13 05:24:29 +0200 |
commit | d98ae4f9b25db6c3aa40ca254bc079ace710d0c0 (patch) | |
tree | a94c9cd395d5bedbdfeb9bf43ad534ccf04b02dc /lib/private/util.php | |
parent | 7fa0c3b7b72acdc0bf7321827a5195cc2a8af1e1 (diff) | |
download | nextcloud-server-d98ae4f9b25db6c3aa40ca254bc079ace710d0c0.tar.gz nextcloud-server-d98ae4f9b25db6c3aa40ca254bc079ace710d0c0.zip |
Fix a wrong WebDAV Warning with self-signed-certs
Occuring in the admin interface
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-x | lib/private/util.php | 2 |
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 { |