Disable HTTPS in Datafari
Valid from Datafari 5.1 (Datafari CE and EE)
Use this only for specific use cases. This option is not recommended.
Datafari is launched by default in HTTPS: to access to Datafari the url is : https://IP_DATAFARI/Datafari
The certificate is autosigned. You can easily replace it by a “real” one. In some situations, you might want to launch Datafari into HTTP rather than HTTPS (for instance in case you already have a reverse proxy in front of your Datafari installation, you do not have real certificates and you do not want that your users see the warning in their browser about autosigned certificate).
The process is :
Backup the configuration in place for Apache proxy :
cp /opt/datafari/apache/sites-available/tomcat.conf /opt/datafari/apache/sites-available/tomcat.bkp
Edit the configuration of Apache :
nano /opt/datafari/apache/sites-available/tomcat.conf
Delete the lines related to the VirtualHost 80
<VirtualHost *:80>
ServerName $YOURSERVERNAME
Redirect / https://YOURSERVER
CustomLog /dev/null common
Header set X-Frame-Options SAMEORIGIN
</VirtualHost>
Change the line :
to :
Finally remove the lines :
You can save and close the file.
3. Apply the new configuration :