I try to use HTTPS when viewing web sites, so I was delighted to find HTTPS Everywhere - an add-on for Firefox that defaults to secure connections. Here's how the add-on makers describe it:
HTTPS Everywhere is a Firefox extension produced as a collaboration between The Tor Project and the Electronic Frontier Foundation. It encrypts your communications with a number of major websites.
Many sites on the web offer some limited support for encryption over HTTPS, but make it difficult to use. For instance, they may default to unencrypted HTTP, or fill encrypted pages with links that go back to the unencrypted site.
The HTTPS Everywhere extension fixes these problems by rewriting all requests to these sites to HTTPS.
I'm a big fan of UK Indymedia, so imagine how happy I was to find out that somebody has written rules that mean the add-on can be used to defualt to HTTPS for all Indymedia sites worldwide that use encryption. The script was posted here. I've duplicated the script below since the Indymedia site turns some of it into links
I've tried to rewrite the remainder on this blog on 18 September 2010 to make it as accessible to non-tech people as possible. Comments welcome.
UPDATE (2010-11-26): The script below will not work with versions of HTTPSEverywhere after 0.3. Somebody has published a revised ruleset
<ruleset name="Indymedia"> <!-- the main indymedia.org and indymedia.org.uk domains --> <rule from="^http://(www\.)?indymedia\.org(\.uk)?" to="https://www.indymedia.org$2"/> <!-- london.indymedia.org.uk is different to indymedia.org.uk/en/regions/london/ --> <rule from="^http://(www\.)?london\.indymedia\.org\.uk" to="https://london.indymedia.org.uk"/> <!-- Nottingham has its own setup --> <rule from="^http://(www\.)?nott(ingham|s)\.indymedia\.org\.uk" to="https://nottingham.indymedia.org.uk"/> <!-- Bristol has its own setup under the indymedia.org domain --> <rule from="^http://(www\.)?bristol\.indymedia\.org" to="https://bristol.indymedia.org"/> <!-- All other UK regions are in region subdirectories of the main indymedia.org.uk domain --> <rule from="^http://(www\.)?(birmingham|cambridge|liverpool|manchester|oxford|scotland|sheffield|southcoast|world)\.indymedia\.org\.uk" to="https://www.indymedia.org.uk/en/regions/$2"/> <!-- Scotland has its own domain as well now, indymediascotland.org, but that doesn't have an encrypted URL --> <!-- Northern Indymedia has its own domain --> <rule from="^http://(www\.)?(northern-|northern.)indymedia\.org" to="https://northern.indymedia.org"/> <!-- The print and satellite projects aren't encrypted, but radio and video are --> <rule from="^http://(www\.)?(radio|video)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- Some international Indymedias have encrypted sites, others don't. Many of them have self-signed or invalid certificates, so your browser might complain, but you can override it. --> <!-- Africa --> <rule from="^http://(www\.)?(estrecho|kenya|southafrica)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- Canada --> <rule from="^http://(www\.)?(maritimes|bc)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- East Asia --> <rule from="^http://(www\.)?(qc)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- Europe --> <rule from="^http://(www\.)?(abruzzo|athens|austria|barcelona|belarus|bxl|brussels|calabria|emiliaromagna|euskalherria|grenoble|istanbul|italy|linksunten|madrid|malta|nantes|ovl|paris|piemonte|roma|switzerland|torun|toscana|ukraine)\.indymedia\.org" to="https://$2.indymedia.org"/> <rule from="^http://(www\.)?indymedia.ie" to="https://www.indymedia.ie"/> <rule from="^http://(www\.)?indymedia.nl" to="https://www.indymedia.nl"/> <!-- Latin America --> <rule from="^http://(www\.)?(argentina|bolivia|sucre|colombia|ecuador|peru|qollasuyu|rosario|santiago|uruguay|venezuela)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- Oceania --> <!-- nothing yet --> <!-- South Asia --> <!-- nothing yet --> <!-- United States --> <rule from="^http://(www\.)?(arizona|hawaii|houston|sandiego|seattle)\.indymedia\.org" to="https://$2.indymedia.org"/> <rule from="^http://(www\.)?.indybay\.org" to="https://www.indybay.org"/> <!-- West Asia --> <rule from="^http://(www\.)?(israel)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- Topics --> <rule from="^http://(www\.)?(biotech)\.indymedia\.org" to="https://$2.indymedia.org"/> <!-- Process --> <!-- Ironically, tech.indymedia.org doesn't have a https site --> <rule from="^http://(www\.)?(lists|docs)\.indymedia\.org" to="https://$2.indymedia.org"/> </ruleset>
Comments
UK site not working
I've just updated to version 0.9.2 of HTTPS-Everywhere, but Indymedia.org.uk has stopped being redirected to https. I've tried the different ruleset, but that doesn't solve it. Other Indymedia sites seem OK, it's just indymedia.org.uk that has the problem. Any suggestions?
Thanks,
Gareth.
Bugfix
Bugfix fixed
Dead right Charlie. Now fixed.
Thanks for noticing it.
OMG. Best. Post. Ever!!!
OMG. Best. Post. Ever!!!
OMG! Best. Comment. Ever!
OMG! Best. Comment. Ever!