Some time when SSL certificate expires , we want to disable the SSL certificate redirect for joomla websites. We can disable secure connection from shell using configuration file.
Open the configuration.php file and change the value
From
public $force_ssl = ‘1’;
To
public $force_ssl = ‘0’;
As well as make sure that, you have disabled the secured connection redirect code in .htaccess file.