cancel
Showing results for 
Search instead for 
Did you mean: 
vsolodkyi
Sisense Team Member
Sisense Team Member

Setup SSL on Sisense (Linux version)

The below procedure is to outline how to set up SSL on Sisense.

Why do you want to set up SSL on Sisense?

When you have SSL set up on your system you can access the Sisense platform through a secure HTTPS connection. This secures the connection between Sisense and your browser. Please note that step 1 generates a self-signed SSL certificate for test purposes.

Step 1. Generate self-signed SSL keys. Below is an example:  

openssl req -newkey rsa:4096 -x509 -sha512 -days 365 -nodes -out  certificate.pem -keyout privatekey.pem

 

Let’s take a look at what the command above does:

 

req -newkey // is used to create a new certificate request and a private key.



rsa:4096 // this works in conjunction with the req command. In this example, we have told it to give us an RSA key of 4096 bits. 



-x509 // modifies how the certificate is defined. In this case, we want a self-signed certificate.



-sha512 // tells the message digest to sign the request /certificate.



-days 365 // this makes the certificate valid for a whole year.



-nodes // this does not encrypt the generated private key. That is okay since we are using a self-signed certificate for testing purposes.



-out and -keyout // specifies the filenames to write the cert and key to.



Step 2. Edit the configuration file based on your deployment. You can find more information about installing Sisense on Linux here

Enter these values for the parameters below .

update: Set to true. Since we are only updating/configuring Sisense. 

is_ssl: Set the value to true

ssl_key_path: Enter the path of the key certificate file. 

ssl_cer_path: Enter the path of your cer certificate file. 

application_dns_name: Enter the common name (CN), or Fully Qualified Domain Name (FQDN) of your SSL host, for example, "test.sisense. com". 

Step 3. In case you are using a test domain, edit the local hosts file in your server to identify the new application endpoint.

In Linux it is located here: /etc/hosts 

Add this line: <IP Address of source machine> <space> <hostname of source machine>. Example: 10.10.10.10 test.sisense.com 

Save the file.

Step 4. If you are using a test domain on your local machine to access Sisense, go to your hosts file. 

Windows: C:\Windows\System32\drivers\etc\hosts 

Mac/Linux: /etc/hosts 

Append <IP address of source machine where Sisense is hosted> <space> <a domain name for sisense>. Example: 10.10.10.10 test.sisense.com 

Save the file

Step 5. In your browser, you should now be able to access Sisense using the domain name set up in Step 4.

Rate this article:
Version history
Last update:
‎02-16-2024 11:30 AM
Updated by: