74_Unifi.pm: Fixed SSL_verify_mode bug. (by Tompkin, Forum: #40287)

git-svn-id: https://svn.fhem.de/fhem/trunk@9800 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rapster
2015-11-06 18:42:44 +00:00
parent 3a4c71d79e
commit f2f7a17ec9

View File

@@ -96,7 +96,7 @@ sub Unifi_Define($$) {
noshutdown => 0,
ignoreredirects => 1,
loglevel => AttrVal($name,"httpLoglevel",5),
sslargs => { SSL_verify_mode => 'SSL_VERIFY_NONE' },
sslargs => { SSL_verify_mode => 0 },
};
if($hash->{unifi}->{version} == 3) {
( $hash->{httpParams}->{loginUrl} = $hash->{unifi}->{url} ) =~ s/api\/s.+/login/;