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:
@@ -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/;
|
||||
|
||||
Reference in New Issue
Block a user