diff --git a/fhem/FHEM/98_telnet.pm b/fhem/FHEM/98_telnet.pm index 0f273ad04..49c5c93e9 100644 --- a/fhem/FHEM/98_telnet.pm +++ b/fhem/FHEM/98_telnet.pm @@ -22,7 +22,7 @@ telnet_Initialize($) $hash->{AttrFn} = "telnet_Attr"; no warnings 'qw'; my @attrList = qw( - SSL + SSL:1,0 allowedCommands allowfrom connectInterval @@ -334,7 +334,7 @@ telnet_Attr(@) my @a = @_; my $hash = $defs{$devName}; - if($type eq "set" && $attrName eq "SSL") { + if($type eq "set" && $attrName eq "SSL" && $param[0]) { InternalTimer(1, sub($) { # Wait for sslCertPrefix my ($hash) = @_; TcpServer_SetSSL($hash); @@ -505,6 +505,8 @@ telnet_ActivateInform($)
  • SSL
    Enable SSL encryption of the connection, see the description here on generating the needed SSL certificates. + Valid values are 0 and 1, 0 being the default. A change requires a FHEM + restart.
    If the attribute is set, the telnet program wont work as a client anymore, and a replacement is needed, like one of the following: