I had to enable the SSL functionality for a Joomla website. That is usually accomplished by setting the following variable in configuration.php:
var $force_ssl = ‘1’; if you want the admin area to be accessible through https
var $force_ssl = ‘2’; if you want the entire website to loaded via https
However, after that the website became inaccessible. After short investigation, it turned that the following variable must be also set in configuration.php, which is optional when no SSL is used:
$live_site = ‘http://yoursite.com’;
After the above variable was set, the site stared working as expected via https.