files_admin.py not honoring SSL setting
-
Hello everyone,
I intend to use the tools from https://stash.kopano.io/projects/KSC/repos/webapp-tools/browse/files_admin/ to preconfigure the files plugin. Everything works fine but the ‘server_ssl’ setting is not honored. No matter if I specify ‘true’ or ‘false’, the ‘use SSL’ setting always remains unticked. Is there somebody who got it to work?
Many thanks,
sultansofswing. -
For those facing the same problem: the script needs to be corrected. The ‘server_ssl’ setting works correct if it’s not passed as a string but rather as a Python boolean. Change Line 111
"server_ssl": ssl,
to
"server_ssl": (ssl.lower() == 'true'),
See you,
sultansofswing.