Does anyone know how to enable a secure HTTPS connection when starting Kx Dashboards Direct?
I have my SSL Certificate created, but don’t see where I can point the dashboards to use them.
$q dash.q -p 10000
http://localhost:10000 (default startup using http)
Thanks
Ok I see that if I start it with the -E 2 flag it starts looking for the certificate.
And it is expecting to find a cert in /usr/lib/ssl , so that’s a start
$q dash.q -p 10000 -E 2
system library:file_ctrl:No such file or directory:../crypto/bio/bss_file.c:297:calling fopen(/usr/lib/ssl/server-crt.pem, r)
The solution to this is the following:
- Set your environmental variables
export SSL_KEY_FILE=/path/to/certs/server-key.pem
export SSL_CERT_FILE=/path/to/certs/server-crt.pem
- 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.”