HTTPS - Meta-Wiki
Jump to content
From Meta, a Wikimedia project coordination wiki
In other languages:
العربية
(ar)
(en)
(es)
فارسی
(fa)
(fr)
italiano
(it)
(ja)
Nederlands
(nl)
português
(pt)
русский
(ru)
edit
This page is about the 2013 and 2015 changes to Wikimedia servers to require HTTPS. Unencrypted access with HTTP is no longer possible.
HTTPS
(Hypertext Transfer Protocol Secure)
is a web protocol that improves the security of communication between the user and the server. With it enabled:
you can be sure the content you are viewing has not been modified by any intermediary such as an ISP or government system;
it makes it much more difficult (but not impossible) for a third party to determine what article you are viewing,
you can be sure nobody can change the content of your edits during their transport to the Wikimedia servers, and
you can be sure that nobody can take over your account by stealing your password or session cookie.
The continued work to improve the security and privacy of Wikimedia project users is a stated goal of the Wikimedia Foundation. This work has been escalated in prominence by the United States
National Security Agency (NSA)
domestic spying scandal revealed by
Edward Snowden
in the summer of 2013. The Wikipedia project was referenced in several documents as a specific source for tracking users’ behavior online.
Browsing the web via the insecure HTTP protocol allows third-parties to track what pages you view and information you send online.
Wikimedia used to have a dedicated secure server (secure.wikimedia.org) for HTTPS connections.
Now, all connections to Wikimedia projects are encrypted, and unencrypted access is no longer possible
, and the URL above redirects to the appropriate Wikimedia project.
What this means for you
edit
In addition to the previous improvements to privacy and security on Wikimedia sites (see below), on Wednesday, August 28, 2013, at 1 pm PDT, the Wikimedia Foundation defaulted to HTTPS for all logged-in users. How this works is simple: If a user wants to log in, the login will happen over HTTPS (thus keeping their username and password secure), and after they are logged in they stay on the HTTPS version of the Wikimedia site they are using.
Proxies
edit
If you are behind a proxy, for instance, a caching proxy to improve web experience in a place with bad networking, and the proxy prevents you from using Wikimedia sites over HTTPS, please contact the maintainers of the proxy and ask them if they can fix it, and if not why.
In limited, controlled environments like schools and corporations, where the entity also controls the browsers/devices, they can technically proxy cache HTTPS. There are commercial solutions to do so which rely on, basically, installing a fake root certificate into the browsers/OSes, which their proxy cache uses to generate fake SSL certs for the sites being proxied, etc.
Help! My code is broken!
edit
Are you a bot maintainer or Gadget author and you're seeing weird or broken behavior after this switch? Hopefully, you can fix that easily.
For Gadget authors, simply modifying any hardcoded URLs from "http://..." to "//..." should fix the issue (this is called using "protocol relative URLs").
For bot maintainers, you have a couple of choices. Either login as the bot and select the preference to not use HTTPS for that account, or update your code to use SSL instead. If you use Pywikibot, please update to the latest version (More technical details:
[1]
[2]
) and read
this
mailing list post for more information.
Various problems
edit
Redirects to sec-warning
edit
When Wikimedia is deprecating outdated security protocols, users may be redirected increasingly often to a page titled:
Your Browser's Connection Security is Outdated
. This means that you should update your browser
Browser and/or Operating System
because otherwise you will soon not be able to connect to Wikimedia websites.
Autocomplete no longer working
edit
Users of Internet Explorer 8, 9 and 10 report that auto-complete of the edit summary field no longer works under HTTPS. This issue can be fixed by upgrading to Internet Explorer 11.
Bots
edit
API requests are now being forced redirected to HTTPS on some languages. On most bot frameworks, this should just work, but a few bot maintainers have reported problems. If your bot has problems, make sure that the library you are using supports HTTPS, and has access to appropriate root certificates.
Missing images
edit
If images are missing, check if you can see for instance
this thumb image from Commons
. If you get a certificate warning please see the
next section about this
Missing scripts
edit
If you had custom scripts that you retrieved by calling a function
loadJS
or
importScriptUri
, you should change the function or the syntax to call scripts with
"http
://..."
or better yet, with protocol-relative URL's like this,
"//..."
without the
http:
or
https:
. In any case, there is a generic function in the
MediaWiki:Common.js
of your wiki that is preferable to a custom function.
If you are still using syntax like
document
write
'