KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions Dashboards Direct – Enable SSL for HTTPS Re: Dashboards Direct – Enable SSL for HTTPS

  • jlucid

    Member
    June 28, 2023 at 12:00 am

    The solution to this is the following:

    1) Set your environmental variables

    export SSL_KEY_FILE=/path/to/certs/server-key.pem
    export SSL_CERT_FILE=/path/to/certs/server-crt.pem

     

    2) Start the process with the -E 2 flag

    q dash.q -p 10000 -E 2

     

    3)  Put the process running behind a Proxy so that you are not

    accessing it directly using an IP address, you need to access it via a proper

    host name otherwise you wll get errors like the below in the dashboard and it

    wont load properly

    “This request was not upgraded to HTTPS because its URL’s host is an IP address.”