When using redirection to SSL you might experience issues with exporting dashboards to PDF since the redirection you are creating is failing the export request.
This post will show you how to create redirection to SSL for users in a different way, and have export request using a different port so they won't encounter any issue with SSL.
Step 1: Set the Sisense web site
- Access to the iis manager by typing iis in the start menu.
- Open SisenseWeb in the library on the left hand side of the window.
- Choose 'Bindings' in the Actions pane on the right.
- Add ports 443 and 8081 (443 - for SSL 8081 - for PDF export)
Step 2: Set up a redirection page for end users trying to access Sisense
- Create a new web site by right clicking on the Sites folder (you can also use the default website if it's not in use)
- Edit bindings and add port 80
- Open Default Document Icon
- Make sure iisstart.htm is at the top of the list (right click->move up).
- Open the iisstart.htm file with notepad, it's located in: C:\inetpub\wwwroot
- Replace the text in the file with:
<meta http-equiv="refresh" content="0;url=https://mysisense.com" />
<!--this part is optional, use it if you want the user to see a message that they are redirected. to use it remove '<!-- -- >'
You should be automatically redirected to <a href="https://mysisense.com"></a>
(in this script the only thing you need to change is mysisense.com to your own sisense address)
Step 3: Change exporting port
- Change the last paragraph in default.yaml file to port 8081 ( in C:\Program Files\Sisense\PrismWeb\vnext\config):
Step 4: Restart the iis
- Start menu->cmd->right click->run as administrator->iisreset
If you already configured SSL redirection by changing the web.config file of your Sisense site - you might want to look into this article