From 28e6fc30cda69301cfc0de964a7282f9173c0cf0 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 27 Feb 2022 16:37:53 +0000 Subject: [PATCH] 98_telnet.pm: better SSL documentation (Forum #126253) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25753 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_telnet.pm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/FHEM/98_telnet.pm b/FHEM/98_telnet.pm index 0f273ad04..49c5c93e9 100644 --- a/FHEM/98_telnet.pm +++ b/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: