J4 Issue ?
avatar conconnl
conconnl
20 Nov 2017

Nowadays there is no reason anymore to have a option to only force HTTPS on the Administrator or the entire site.
Especially with all the changes going on in the browsers; Warning if you don't use HTTPS, internet speed improvements (HTTP/2), free certificates and all the other things.

I want to suggest to change the current feature to a Yes and No option, which simply Force HTTPS for everything or nothing.

function improvement

avatar conconnl conconnl - open - 20 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
Category Administration Feature Request
avatar PhilETaylor
PhilETaylor - comment - 20 Nov 2017

Whats worse is that you can enable this, then if you dont have a SSL cert installed it will warn you, but still have the configuration enabled.. and just ignored...

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Nov 2017
Status New Discussion
avatar conconnl
conconnl - comment - 20 Nov 2017

I can't code....., Do you have a code fix proposal for this?
I agree that it's needs to be fixed

avatar brianteeman
brianteeman - comment - 8 Jan 2018

@PhilETaylor I was checking your comment and its a bit weird. If you enabled the force option when you dont have a cert then you get the warning and you are correct the global config doesnt change. BUT after loading the front end of the site and then opening the config it has been corrected to say disabled

avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Scrabble96
Scrabble96 - comment - 15 Aug 2019

Following on from @conconnl 's first comment, is there any reason not to have the default to https rather than non-https as surely the majority of sites must now run on SSL. With Let's Encrypt and others available free and perfectly suitable for smaller, non-ecommerce sites, there's no reason not to have even a basic SSL certificate installed.

avatar alikon
alikon - comment - 15 Aug 2019

maybe intranet sites running under a firewall i guess

avatar HLeithner
HLeithner - comment - 15 Aug 2019

Normally you don't create a website in a public space instead many people use xmpp (or similar) for bootstrapping there sites. That means they use localhost for 127.0.0.1 as server name. You can't create an official certificate for this names, you would need to create you own certificate and allow it in the browser.

In my experience that will not be done my people setting up a website and move it later to a public webspace. Also you don't get no gain from it for localhost.

What maybe makes sense is to inform people on backend login that the site is not tls encrypted and they should find a way to do this.

But a default activation is a no go.

avatar brianteeman
brianteeman - comment - 15 Aug 2019

If a site is installed directly on a web server either by our install or the webhosts install then we can detect if the site is already running https

avatar HLeithner
HLeithner - comment - 15 Aug 2019

that's partly true because we can't guarantee that the certificate is valid for example.

But yes could be considered in the installer.

avatar brianteeman
brianteeman - comment - 15 Aug 2019

If its not valid and the site is being accessed by https then the validity of the certificate is not our issue.

This can not be done in the installer as many hosts have their own one click installer

avatar HLeithner
HLeithner - comment - 15 Aug 2019

then it's the job of the one click installer

avatar mbabker
mbabker - comment - 15 Aug 2019

The Joomla installer should only be the minimum necessary to get the software running, putting feature configurations into the installer is problematic because of third party software like Softaculous which do not install Joomla using the core provided interface.

If you want something done after installation, adding some kind of "after install at first login" step is your most reliable option. Otherwise, don't stuff things into the installation app that can't be relied on to always be available.

then it's the job of the one click installer

Have a little respect for the ecosystem and understand that not every Joomla user installs Joomla the same way and that Joomla doesn't have the influence to force these vendors to change how they work.

avatar HLeithner
HLeithner - comment - 15 Aug 2019

that's the reason I wrote it could be mentioned on login, the installer or if you like a post installation notice would at least make sense. But doing it automatically/default is a bad idea, that's what I wanted to say.

avatar jwaisner jwaisner - change - 11 Mar 2020
Status Discussion New
Build staging 4.0-dev
avatar conconnl conconnl - change - 24 Nov 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-11-24 22:34:38
Closed_By conconnl
avatar conconnl conconnl - close - 24 Nov 2020
avatar sjehuda
sjehuda - comment - 17 Apr 2024

Normally you don't create a website in a public space instead many people use xmpp (or similar) for bootstrapping there sites. That means they use localhost for 127.0.0.1 as server name. You can't create an official certificate for this names, you would need to create you own certificate and allow it in the browser.

@HLeithner I am not sure I understand. May you elaborate on it?

Add a Comment

Login with GitHub to post a comment