LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2019, 09:12 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Question Internet and http or https pages?


I've only just noticed that whatever address I go to for example amazon.co.uk the browser Chromium or Firefox always precedes it with https:// and not plain old http://

Recently I started using a laptop with a new install Linux Mint 19.2 and this tries to log on to my router unless I specifically add https:// to the address I'm going to.

Never seen this behaviour before - presumably it's browser setting?

Can someone explain this please? Okay I understand https is encrypted I just hadn't noticed this was how my browser accesses every page I go to!
 
Old 10-07-2019, 09:22 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by GPGAgent View Post
I've only just noticed that whatever address I go to for example amazon.co.uk the browser Chromium or Firefox always precedes it with https:// and not plain old http://

Recently I started using a laptop with a new install Linux Mint 19.2 and this tries to log on to my router unless I specifically add https:// to the address I'm going to.

Never seen this behaviour before - presumably it's browser setting?

Can someone explain this please? Okay I understand https is encrypted I just hadn't noticed this was how my browser accesses every page I go to!
Are you sure it's every page? There's an increasing number of websites that are securing their connections, requiring https, but probably not every site, yet.
A brief search returned an article stating that "half the web is encrypted," so your odds of finding a pages that's not are getting slimmer every day.

It's not a "browser setting" -- it's controlled by the web site you're addressing. I find it best to just enter the domain name, absent the protocol (https:// part), and let the site I'm visiting set that.
 
Old 10-07-2019, 09:37 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,665
Blog Entries: 19

Rep: Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490Reputation: 4490
There's a firefox plugin that uses https wherever the website allows it. Maybe you have that installed.
 
Old 10-07-2019, 11:03 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by GPGAgent View Post
I've only just noticed that whatever address I go to for example amazon.co.uk (...) Firefox always precedes it with https:// and not plain old http://
I have noticed this myself on the most recent FF versions.
Essentially, what used to be "HTTPS Everywhere" addon functionality, is now baked right into the browser (and apparently enabled by default).
This has also been paired with the inability to add a permanent security exception for sites with "untrusted" certificates.
 
Old 10-07-2019, 12:24 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by ondoho View Post
I have noticed this myself on the most recent FF versions.
Essentially, what used to be "HTTPS Everywhere" addon functionality, is now baked right into the browser (and apparently enabled by default).
This has also been paired with the inability to add a permanent security exception for sites with "untrusted" certificates.
Hmm. I'm not seeing that HTTPS everywhere functionality. In fact, the link in the OP's signature is an unsecured site that works just fine for me (FF 69.0.2)

I also have a couple of sites where have added a permanent security exception, although I may have done that in an earlier version. (They are Webmin installs on internal 'puters, including this desktop). There is an option to remove the exception, but I've not done that in case you're right about not being able to add it. What is kind of obtuse is getting to that information for a site: Try clicking on the i-in-a-circle in the address space and see if that gives you the ability to add an exception.
I'm just guessing, tho...
 
Old 10-07-2019, 12:41 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
It's not you or your browser. The websites (yes, all of them) are set up, server-side, to redirect you to the HTTPS URLs.

Last edited by dugan; 10-07-2019 at 01:10 PM.
 
2 members found this post helpful.
Old 10-07-2019, 12:48 PM   #7
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by scasey View Post
Are you sure it's every page? There's an increasing number of websites that are securing their connections, requiring https, but probably not every site, yet.
A brief search returned an article stating that "half the web is encrypted," so your odds of finding a pages that's not are getting slimmer every day.

It's not a "browser setting" -- it's controlled by the web site you're addressing. I find it best to just enter the domain name, absent the protocol (https:// part), and let the site I'm visiting set that.
Well, that makes sense, and I also thought surely not every web page is now encrypted.

This only came about because I was trying a live Mint 19.2 on a new (to me) laptop (Lenovo ThinkPad X201), wired connection, and when I fired up Firefox it only showed my router ip address - no def

If I typed in www.amazon.co.uk it did the same, but if i explicitly typed https://amazon.co.uk it was good, no problem.

So that's how I found the 'problem' - from a live Mint 19.2 64 bit install, no home page set - it used to be something like this https://www.linuxmint.com/start/

Anyway - I'll go for a full install and see what happens
 
Old 10-07-2019, 01:20 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Ahh. I always set the home page of a new FF install to DDG, so I don't see the "default"
 
Old 10-08-2019, 12:48 PM   #9
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by scasey View Post
Ahh. I always set the home page of a new FF install to DDG, so I don't see the "default"
DDG - DuckDuckGo?

I too set a bunch of home pages, but I hadn't installed Mint yet, just testing a few live distro's before deciding which to go with - Mint 19.2 is in the lead at the mo!

Cheers
 
Old 10-08-2019, 12:54 PM   #10
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by GPGAgent View Post
DDG - DuckDuckGo?
Yes. Sorry. I got lazy.
 
Old 10-10-2019, 12:37 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ondoho View Post
Essentially, what used to be "HTTPS Everywhere" addon functionality, is now baked right into the browser (and apparently enabled by default).
This has also been paired with the inability to add a permanent security exception for sites with "untrusted" certificates.
Quote:
Originally Posted by scasey View Post
Hmm. I'm not seeing that HTTPS everywhere functionality.
I was slightly wrong - I actually remember the exact problem now:
  • firstly, I'm not on ESR, but this started around v68.
  • it has something to do with site preferences: once you visited a site's https version it won't let you go to the http version, even if you explicitely type that in: http://some.site
  • until you delete the "Site Data" for that site, then you can visit the http version

100% reproducible on my setup - of course only for sites that don't automatically redirect to https anyhow.
 
1 members found this post helpful.
Old 10-10-2019, 03:51 PM   #12
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Distribution: Manjaro Cinnamon
Posts: 183

Rep: Reputation: 25
I've become a fan of Brave browser - among many things you can set it to force loading https if the site does not do it automatically:
Quote:
Upgrade connections to HTTPS <toggle switch>
From what I've gathered, is this not now the "safe" way to visit sites?
 
Old 10-10-2019, 04:55 PM   #13
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by Captain Brillo View Post
I've become a fan of Brave browser - among many things you can set it to force loading https if the site does not do it automatically:

From what I've gathered, is this not now the "safe" way to visit sites?
Yes it is the safe way (encrypted transmission between the client and the server), but I don't think the client/browser can force the https connection...it must be supported by the server and the server must present a valid security certificate before it can be used.

Which is not to say that the browser, or an add-on, can't be configured to always try https...
 
1 members found this post helpful.
Old 10-11-2019, 09:55 PM   #14
Captain Brillo
Member
 
Registered: Jul 2018
Location: Capital of Raccoon Nation
Distribution: Manjaro Cinnamon
Posts: 183

Rep: Reputation: 25
From what Brave browser has said, I think this function will actually prevent a connection without https.
Not sure about this, but I'm shutting one eye and pretending it's true till I see otherwise.
 
Old 10-11-2019, 10:51 PM   #15
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by Captain Brillo View Post
From what Brave browser has said, I think this function will actually prevent a connection without https.
Not sure about this, but I'm shutting one eye and pretending it's true till I see otherwise.
Could be. Preventing is not the same as “force loading of https...”
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables rules for Internet browsing (http, https) home desktop system? rng Linux - Security 10 02-08-2014 09:03 AM
https certication error , the page can not be loaded via https ust Linux - Server 2 11-21-2013 08:49 PM
Index pages and friendly pages in Internet. stf92 General 12 01-18-2012 07:10 AM
redirect https://www.domain.com to https://domain.com decenter Linux - Server 4 09-13-2011 10:05 AM
apache 2.0 https to https redirect struct Linux - Software 1 04-22-2011 05:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration