Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    files_admin.py not honoring SSL setting

    WebApp & Plugins
    1
    2
    294
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sultansofswing
      sultansofswing last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • sultansofswing
        sultansofswing last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post