Why is HTTP still commonly used, instead what I would believe much more secure HTTPS?

  • 1
  • 3
    Not directly related, but an interesting take by Troy Hunt: troyhunt.com/i-wanna-go-fast-https-massive-speed-advantage Basically HTTP/2 only works with TLS, so using HTTPS can improve the speed (if the client and server uses HTTP/2).
    – user276648
    Jul 25, 2016 at 11:07
  • IMO, browsers should not accept an address without scheme at all. If you want to find info about a domain name or an IP address, this is a pain in the ass with Chrome and other browsers that don't have a separate search field.
    – Oskar Skog
    Apr 19, 2017 at 16:45
  • what does it mean default? is it not a) configuration of a browser and b) configuration of a web server. I think most browsers and most web servers have https by default
    – Effie
    Sep 8, 2021 at 12:36

10 Answers 10


SSL/TLS has a slight overhead. When Google switched Gmail to HTTPS (from an optional feature to the default setting), they found out that CPU overhead was about +1%, and network overhead +2%; see this text for details. However, this is for Gmail, which consists of private, dynamic, non-shared data, and hosted on Google's systems, which are accessible from everywhere with very low latency. The main effects of HTTPS, as compared to HTTP, are:

  • Connection initiation requires some extra network roundtrips. Since such connections are "kept alive" and reused whenever possible, this extra latency is negligible when a given site is used with repeated interactions (as is typical with Gmail); systems which serve mostly static contents may find the network overhead to be non-negligible.

  • Proxy servers cannot cache pages served with HTTPS (since they do not even see those pages). There again, there is nothing static to cache with Gmail, but this is a very specific context. ISPs are extremely fond of caching since network bandwidth is their lifeforce.

  • HTTPS is HTTP within SSL/TLS. During the TLS handshake, the server shows its certificate, which must designate the intended server name -- and this occurs before the HTTP request itself is sent to the server. This prevents virtual hosting, unless a TLS extension known as Server Name Indication is used; this requires support from the client. In particular, Internet Explorer does not support Server Name Indication on Windows XP (IE 7.0 and later support it, but only on Vista and Win7). Given the current market share of desktop systems using WinXP, one cannot assume that "everybody" supports Server Name Indication. Instead, HTTPS servers must use one IP per server name; the current status of IPv6 deployment and IPv4 address shortage make this a problem.

  • HTTPS is "more secure" than HTTP in the following sense: the data is authenticated as coming from a named server, and the transfer is confidential with regards to whoever may eavesdrop on the line. This is a security model which does not make sense in many situations: for instance, when you look at a video from Youtube, you do not really care about whether the video really comes from youtube.com or from some hacker who (courteously) sends you the video you wish to see; and that video is public data anyway, so confidentiality is of low relevance here. Also, authentication is only done relatively to the server's certificate, which comes from a Certification Authority that the client browser knows of. Certificates are not free, since the point of certificates is that they involve physical identification of the certificate owner by the CA (I am not telling that commercial CA price their certificates fairly; but even the fairest of CA, operated by the Buddha himself, would still have to charge a fee for a certificate). Commercial CA would just love HTTPS to be "the default". Moreover, it is not clear whether the PKI model embodied by the X.509 certificates is really what is needed "by default" for the Internet at large (in particular when it comes to relationships between certificates and the DNS -- some argue that a server certificate should be issued by the registrar when the domain is created).

  • In many enterprise networks, HTTPS means that the data cannot be seen by eavesdroppers, and that category includes all kinds of content filters and antivirus software. Making HTTPS the default would make many system administrators very unhappy.

All of these are reasons why HTTPS is not necessarily a good idea as default protocol for the Web. However, they are not the reason why HTTPS is not, currently, the default protocol for the Web; HTTPS is not the default simply because HTTP was there first.

  • 6
    +1 for static content takes a hit. Consider a site with multiple <img> tags. Since each image will have a separate connection, the computational overhead of say a 2048-bit or 4096-bit encrypted connection can become fairly significant on mobile platforms where increasesd CPU usage quickly drains a battery, users might avoid your site because for one reason or another they think it drains their battery. This is of course one merit to hosting non-confidential static content on a separate server (without SSL).
    – jamesbtate
    Jun 6, 2011 at 1:17
  • 11
    @puddingfox: a browser will open only a few SSL connections to a given site (e.g. 3 or 4), using HTTP keep-alive to send several successive HTTP requests within each. Moreover, only the very first one needs asymmetric key exchange (the one where a 2048-bits-or-so key is involved); the other connections will use the SSL/TLS "resume session" feature (faster handshake, less messages, symmetric crypto only). Finally, most SSL/TLS server use a RSA key and the client part of RSA is cheap (the server incurs most of the cost in RSA). Jun 6, 2011 at 10:58
  • 3
    Good answer. However, there is a reason why someone sufficiently paranoid might want to view youtube videos over https: viewing them over https would mean that an eavesdropper would not easily be able to compile a record of which videos you watch.
    – Warren Dew
    Apr 13, 2014 at 6:20
  • 3
    Regarding the assertion that you do not really care about whether the video really comes from youtube.com, this is wrong. If I'm watching a video of Bruce Schneier talking about cryptography and I might make decisions based on his opinion, then I want to know that the message has not been altered in transit.
    – dotancohen
    Nov 4, 2014 at 13:59
  • 3
    What about accuracy? You go to Youtube for vids but it gives you contents from Facebook instead. You go to Facebook and it shows you Google instead. You go to Google and it shows you something that is not-safe-for-life. Or stuff that could put you in jail. Like... a virus download or zero-day exploit which uses your computer to share pirated stuff, or broadcast anti-state speeches (a grave or capital offense in more than several countries), or export crypto, or release state secrets, or anything for that matter. Everyone needs HTTPS, they just don't know that yet.
    – Pacerier
    Jan 26, 2016 at 22:23

While there are great answers already given, I believe that one aspect is overlooked so far.

Here it is: Plain HTTP is the default protocol for the web because the majority of information on the web doesn't need security.

I don't mean to belittle the question, or the security concerns of some web sites/applications. But we can at times forget how much web traffic:

  • contains only completely public information
  • or has little or no value
  • or where having more visitors is seen as increasing the value of the site (news media, network effect sites)

A few quick examples, I'm sure you can quickly make more in your mind:

  • Almost all company websites, sometimes called "brochure-ware sites", listing public information about a company.
  • Almost all of the news media, blogs, TV stations, etc that have chosen advertisement support as their primary monetization strategy.
  • Services which may offer logins and additional personalization, but who also give away their content for free to anyone browsing anonymously (YouTube fx).
  • 1
    I agree, there's no reason to leave anything overlooked. One thing I've wondered, and relates to your point on public information. Are URLs viewed during HTTPS transactions to one or more websites from a single IP distinguishable? For example, say the following are HTTPS URLs to two websites by one IP over 5 mins: "A.com/1", "A.com/2", "A.com/3", "B.com/1", "B.com/2"; would monitoring of packets reveal nothing, reveal only the IP had visited "A.com" and "B.com", reveal a complete list of all HTTPS URLs visited, only reveal IP's of "A.com" and "B.com", or something else?
    – blunders
    Jun 6, 2011 at 0:15
  • 3
    @blunders: Comments aren't the best places to ask new questions. Have a look at the following link, or open a new question. security.stackexchange.com/questions/2914/…
    – user2122
    Jun 6, 2011 at 10:36
  • 8
    A telephone number on a "brochure-ware site" might be completely public information. That doesn't mean being able to spoof a telephone number on that website isn't a security risk.
    – Christian
    Sep 9, 2014 at 15:49
  • 3
    @JesperMortensen, You are confusing "doesn't need security" with "doesn't need privacy". Yes, the data is public, that doesn't mean that we can avoid HTTPS (the mitm can simply return a bogus misleading page).
    – Pacerier
    Feb 16, 2015 at 9:55
  • 3
    @JesperMortensen, Ok I realized this third comment is a few months late, but this is important: HTTPS is not about security alone. It's about accuracy too. You stated that web doesn't need security, but does the web need accuracy? (Just imagine how much mayhem there would be when we visit a.com but get contents from b.com and vice-versa. You go to youtube.com expecting to see some videos but it redirects you to bing.com.)
    – Pacerier
    Jan 26, 2016 at 21:52
  • It puts significantly more CPU load on the server, especially for static content.
  • It's harder to debug with packet captures
  • It doesn't support name-based virtual servers
  • +2 @D.W.: Guess it makes sense that it'd be hard to have a universal method for sharing application specific implementations; meaning you couldn't just make a copy of the keys and the configs to render the decryption built into the debugger. And yes, I'd seen that listed in @Thomas answer, which was posted after @Mike Scott; left it as is, since I'd wondered if @Mike Scott had another reason. Cheers!
    – blunders
    Jun 6, 2011 at 18:47
  • @D.W. Windows XP isn't supported either. Its end of support in April 2014 breaks the last major barrier to SNI deployment. Feb 19, 2015 at 0:40
  • @tepples, my comment was written 4 years ago. Obviously, the situation with Windows XP has evolved over time. (And, it's not relevant whether Windows XP is supported or not. What's relevant is how many users use Windows XP -- i.e., how many users won't be able to use your website if you turn on SNI. As I wrote in my comment, see Thomas Pornin's answer.)
    – D.W.
    Feb 19, 2015 at 0:51
  • @D.W. I was pointing out that your comment had since become outdated. I apologize for not being more explicit about this. But even if you had a lot of XP users, what's the point in making a secure connection to a machine that is itself likely to be compromised with a zero-day? Feb 19, 2015 at 0:57
  • @tepples, it is not that simple. What is the value of that user to the site owner? The answer will depend on the site. They don't lose that user, and might be able to monetize that user (e.g., that user might want to buy something from them, so they might lose a sale if they block such users). I'm largely sympathetic to your argument, but again, what I'm saying is this is not so cut-and-dry as you are trying to make it out to be. If you want to persuade others, it's important to understand the considerations that drive their decisions.
    – D.W.
    Feb 19, 2015 at 0:59

Http was always the default. Initially https was not needed for anything, it was pretty much an addition tacked on as it became obvious security was needed in some circumstances.

Even now, there are so many web sites which do not need https that it is still not a convincing argument to replace http entirely.

With ever more effective mechanisms for running TLS secured connections, the CPU overhead is becoming much less of an issue.


No one has pointed out a clear problem that arises from using http as default, rather than https.

Hardly anyone bothers to write the full uri when requesting a resource that needs to be encrypted and/or signed for various purposes.

Take gmail as an example, when users are visiting gmail.com, they are in fact visiting the default protocol of http, rather than https. At this point security has failed in scenarios where the adversary is intercepting the traffic. Why? Because its possible to strip html from https request, and point them to http.

If https was in fact the default protocol, your sessions to websites would have been protected.

To the question why http is chosen over https, the various answers above applies. The world is just not ready for widespread use of encryption yet.

  • 2
    You're describing the "SSL stripping" attack. Browsers have since implemented HTTP Strict Transport Security (HSTS) as a countermeasure, including HSTS preload lists and HTTPS Everywhere (essentially a third-party HSTS preload list). Feb 19, 2015 at 0:43
  • 1
    @tepples HSTS is worse than useless, as it can also be stripped while providing a false sense of security of server owners.
    – Alice
    Feb 19, 2015 at 2:48
  • 1
    @Alice, What do you mean HSTS can be stripped?
    – Pacerier
    Mar 28, 2015 at 23:56
  • 2
    @Dogeatcatworld, The question is asking why do browsers change the user's request (typing in the url) from web.com to http://web.com instead of https://web.com?
    – Pacerier
    Mar 28, 2015 at 23:58
  • 3
    @Pacerier The first time a user follows a link using the https: scheme to a site using HSTS that isn't in the preload list, an HTTP proxy rewriting all links can rewrite the link to instead use the http: scheme. That's why the preload list exists, but no preload list is exhaustive. So long as the user stays behind stripping proxies, visits only sites not in the browser's preload list, never manually keys in the https: scheme, and never notices the lack of a lock icon in the right place, the user is unaware of any attack. May 1, 2015 at 15:52

In addition to the reasons others have given already:

  • Additional work required to set up HTTPS on the server

    The server administrator needs to configure certificates for each domain. This involves interacting with a certificate authority to prove you are the genuine owner of the domain and obtain certificate renewals. This might mean manually generating certificate signing requests and purchasing renewals, or setting up an automated process to do so (such as certbot using Let's Encrypt). In either case, it's more work than not using HTTPS.

  • Additional IP addresses required

    This is not really an issue since SNI (Server Name Identification) support became widespread in browsers and SSL client libraries.

    Traditionally, however, it was necessary to use a different IP address for each distinct site using SSL on a particular server and port. This intefered with the ability to do name based hosting (virtual hosting) - a widely used practice allowing many different domains to be hosted from the same IP address. With HTTPS, regular name based hosting doesn't work because the server would need to know what hostname to present in the SSL/TLS validation layer before the HTTP request, containing the hostname, can be decrypted.

    Server Name Identification (SNI), which effectively implements name-based hosting at the SSL/TLS layer, removes this limitation.

  • Slow pace of change

    HTTPS was a modification to an existing protocol, HTTP, which was already very much entrenched before many people were starting to think about security. Once a technology has become established and as ubiquitous as HTTP was, it can take a very long time for the world to move to its successor, even if the reasons for changing are compelling.

  • Hi fjw - this is a very old question, with good answers, and an accepted answer. Your answer doesn't bring anything new - I'd encourage you to contribute by answering new questions.
    – Rory Alsop
    Sep 9, 2014 at 13:29
  • Do you really quality this as a low-quality answer? I'm really sorry, I came upon this as I was researching something and felt that the existing answers failed to address what I thought were some important points. I'd strongly disagree that this is a "low quality answer". Sep 9, 2014 at 14:32
  • It was flagged to me by community members, and i agree with them. My comment above explains my point.
    – Rory Alsop
    Sep 9, 2014 at 14:46

Thomas has already written an excellent answer, but I thought I'd offer a couple more reasons why HTTPS is not more widely used...

  • Not needed. As Jesper's answer insightfully points out "the majority of information on the web doesn't need security". However, with the growing amount of tracking taking place by search engines, ad companies, country-level internet filters and other "Big Brother" programs (eg. NSA); it is raising the need for greater privacy measures.

  • Speed. It often feels slow because of the extra round trips and extra requests for certificate revocation lists (OCSP etc.). Thankfully SPDY (created by Google, and now supported in all major browsers), and some interesting work from CloudFlare are helping shift this.

  • Price of certificates. Most certificate authorities charge exhorbitant amounts of money (hundreds of dollars) for a certificate. Thankfully there are free options, but these don't get as much publicity (not sure why?).

  • Price of IP addresses. Until IPv6 becomes widespread, websites will face the rising scarcity (and thus cost) of IPv4 addresses. SNI is making it possible to use multiple certificates on a single IP address, but with no SNI support in Windows XP or IE 6, most sites still need a dedicated IP address to provide SSL.

  • Increase in server CPU usage. This is a common belief, but according to Google "SSL/TLS is not computationally expensive any more".

  • Also lack of backwards compatibility.
    – cnst
    Dec 22, 2014 at 3:01
  • 1
    A week after you posted this answer, Windows XP itself became unsupported. What does this change? Feb 19, 2015 at 0:44
  • @tepples nothing, as those people were not automagically upgraded to Windows 7, to my knowledge.
    – Alice
    Feb 19, 2015 at 2:49
  • 1
    StartSSL has now gotten some publicity but not the way you presumably wanted :-) Jan 18, 2017 at 17:20
  • I have to say that I vehemently disagree with the statement that TLS is not computationally expensive. It assumes that sites are all served from powerful hardware. This is simply not true when the web server happens to be running on an embedded device where power use is a prime consideration. Mar 31, 2017 at 22:41

The simplest explanation and the most reasonable I've found among my colleagues is that it's always been done with HTTP, why change it now.

If it's not broke, don't fix it.

  • 5
    HTTP's privacy has always been broken.
    – Pacerier
    Mar 28, 2015 at 23:59
  • iOS 9 breaks it. No http for non-browser apps by default. And no outdated https implementations allowed by default.
    – gnasher729
    Apr 20, 2016 at 14:34

The real answer is that SSL certificates in their current form are comically hard to use. They are so unusable that it threatens the security of certificates, as people take shortcuts to just get stuff done. I say this as somebody who routinely deals with 2-way SSL (PKI certs), the TLS stack incompatibilities that are created by the complexity of the spec, and the crazy number of combinations of configurations (cipher limits, options, language specific library bugs, etc) that are called "TLS".

See the rise of LetsEncrypt as evidence that this is true.

Caddy is a reverse proxy project that uses LetsEncrypt. It can renew certificates while the server runs, and people use really short expirations because renewals are automated.


When HTTP was invented by academics around 1990 to share public information, security was not a consideration. HTTPS was a 1995 afterthought intended to secure e-commerce. Adoption by other websites was slow, with HTTPS perceived not necessary where there was 'nothing to hide'.

However as of 2021:

  • An estimated 90% of web traffic is HTTPS (graphs below).
  • Many popular websites force HTTPS via a preload list shipped with browsers.
  • Browsers warn HTTP connections are insecure (example domain).
  • When connecting to an unknown domain, some browsers such as Chrome attempt HTTPS before fallback to HTTP (other browsers will presumably follow).

How did this change happen? The global surveillance revelations of 2013 destroyed the 'nothing to hide' argument. The IETF published Pervasive Monitoring Is an Attack. This empowered browsers to announce plans to deprecate HTTP. Websites were given deadlines to prepare, or suffer security warnings.

Simultaneously, nonprofit Let's Encrypt pioneered free certificates from 2015, simplifying setup and reducing expense. Today Let's Encrypt issues "more currently valid certificates than all other browser-trusted CAs combined".

HTTPS performance costs had long been solved by 2013, though they persisted as a myth.

Browser Announced plans to deprecate HTTP HTTP labelled insecure
Mozilla Firefox April 2015 October 2019
Google Chrome September 2016 July 2018

Graphs showing HTTPS adoption:

enter image description here

  • I'm not sure that this answers the question. This is simply stating that it is now the de facto default. But why, when this question was asked, was it not despite the obvious benefits?
    – schroeder
    Sep 3, 2021 at 8:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .