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

    WebApp behind reverse proxy (https terminates at proxy/firewall)

    Kopano WebApp
    1
    2
    1135
    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.
    • mapo
      mapo last edited by

      Hello.

      I’m setting up a new Kopano server (community 8.6.80.45) on Debian 9.4 server which is behind a firewall/reverse proxy on local LAN.

      SSL connections to Kopano WebApp server are terminated at the proxy (where i also have “Let’s Encrypt” CA cerificates for our mail.[blank].net FQDN host). Proxy server decrypts the traffic and sends it to the upstream Kopano WebApp server on internal network via unencrypted HTTP protocol on port 80.

      However, the problem is that i cannot make webapp work without SSL enabled on the internal Kopano web server (webapp).
      WebApp version: 3.4.10.1330

      Apache2 error.log shows:

      [Fri Mar 16 11:07:25.629108 2018] [:error] [pid 1051] [client 10.20.20.99:58182] Rejected insecure request as configuration for 'INSECURE_COOKIES' is false.
      

      Is there a way to enable WebApp to work with ‘INSECURE_COOKIES’, over plain HTTP(80) connection?

      Thank You in advance for any help and/or tips…

      mapo 1 Reply Last reply Reply Quote 0
      • mapo
        mapo @mapo last edited by

        UPDATE (problem solved):

        I just updated config.php, and changed:

        define(“INSECURE_COOKIES”, false);
        to
        define(“INSECURE_COOKIES”, true);

        It works now.

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