Site redirection with SSL

by Volker Weber

Sketch

Try this little experiment. Type in these three addresses into the address bar of your browser. Don't forget the s, because that gives you a secure connection. All three sites try the same trick. Only two succeed.

Comments

All three redirect to a https site with german content.

Apple to https://www.apple.com/de/
IBM to https://www.ibm.com/de-de/
MS to https://www.microsoft.com/de-de

And all keep https. So i really don't know what you were expecting.

Dirk Steins, 2017-11-11 19:11

@Dirk

Do it with Safari and you’ll see what Volker meant.

Stefan Dorscht, 2017-11-11 19:18

Or Chrome....

Scott Hanson, 2017-11-11 19:29

Try the same experiment with top level domain '.fr' ...

Olav Brinkmann, 2017-11-11 19:32

Ok, thanks, with Safari i see what vowe means. That's really a bad config.

Dirk Steins, 2017-11-11 20:16

Well, I could not be surprised less. It is all fitting into the big picture...

Hubert Stettner, 2017-11-11 20:49

So what is "the trick" - save me searching to find out what is not working for IBM...

I never had that problem with websites I have set up that use https://...
Am I lucky or what?

John Keys, 2017-11-11 22:26

They're directing that URL to a server with a certificate that failed to include *.ibm.de in its digitally-signed list of common names.

Richard Schwartz, 2017-11-11 22:38

Ah - OK, Richard. Thanks!

John Keys, 2017-11-11 22:40

John, if your browser does not warn you about the wrong certificate, I would not trust it with any business.

Volker Weber, 2017-11-11 22:47

I use Chrome -it warns me, but I didn't understand why I was getting a warning for IBM. in other words, I didn't understand HOW IBM had screwed up.

John Keys, 2017-11-11 23:28

Good. And you are not alone. One IBMer told me I need to upgrade my operating system. ;-)

Volker Weber, 2017-11-11 23:31

A more detailed explanation: https://blog.dnsimple.com/2016/08/https-redirects/

Thomas Odorfer, 2017-11-12 00:17

... because everyone should go out and buy a valid .de cert.

Craig Wiseman, 2017-11-12 00:19

I am sure somebody at IBM knows that. But they cannot afford a certificate for ibm.de.

Volker Weber, 2017-11-12 00:23

Under the hood even apple is broken and breaks the transport layer security chain:

* httpS://apple.de redirects you to http://apple.com/de/ (withous SSL)
* http://apple.com/de/ (without SSL) redirects you to http://www.apple.com/de/ (without SSL)
* http://www.apple.com/de/ (without SSL) redirects you to httpS://www.apple.com/de/

'curl -i' is a great tool to inspect redirects and url shorteners.

Stefan Funke, 2017-11-14 09:11

Stefan, https://apple.de redirects correctly, as least now. Maybe Apple reads vowe.net??

John Keys, 2017-11-14 19:02

John, might depend on your location and the Apple's CDN endpoint. In Paris, Amsterdam and Berlin it looks like:

$ dig +short apple.de
17.178.96.102
17.142.160.89
17.172.224.108

$ curl -i https://apple.de
HTTP/1.1 301 Moved Permanently
Server: Apache
Date: Tue Jun 1 12:48:03 PDT 1999 PDT
Referer: http://apple.com/
Location: http://www.apple.com/de/

Stefan Funke, 2017-11-15 17:59

Post a comment

Store next two fields in a cookie for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.

Recent comments

Thomas Langel on Ferrari Evolution at 14:23
Maik Endler on udoq :: Das Ding des Jahres at 13:51
Karl Heindel on Ferrari Evolution at 10:39
Sven Bühler on Ferrari Evolution at 23:53
Abdelkader Boui on Concept Zero :: Echo Dot auf Steckdose montieren at 18:37
Volker Weber on udoq :: Das Ding des Jahres at 17:17
Volker Weber on Concept Zero :: Echo Dot auf Steckdose montieren at 16:04
Dirk Stelloh on Concept Zero :: Echo Dot auf Steckdose montieren at 15:59
Markus Philippi on udoq :: Das Ding des Jahres at 21:47
Armin Grewe on Major Apple Crisis at 20:25
Jens Nullmeyer on udoq :: Das Ding des Jahres at 20:24
Vitor Pereira on Attending IBM think 2018 at 19:27
Gabriella Davis on Attending IBM think 2018 at 15:15
Volker Weber on Attending IBM think 2018 at 14:00
Manfred Wiktorin on Attending IBM think 2018 at 13:59
Mick Moignard on Attending IBM think 2018 at 11:56
Volker Weber on udoq :: Das Ding des Jahres at 11:39
Ingo Spichal on udoq :: Das Ding des Jahres at 11:30
Karl Heindel on init - der Wochenausblick: Azure und Maffay, ganz nah beieinander at 10:30
Ralph Hammann on Major Apple Crisis at 10:17
Maik Endler on Wenig spannend at 09:03
Stephan Bohr on Philips Hue Aktion :: Bis zu 50 € zurück at 17:18
Volker Weber on Major Apple Crisis at 17:26
Heiko Wolf on Major Apple Crisis at 17:22
Chris frei on Your favorite messenger at 15:27

Ceci n'est pas un blog

I explain difficult concepts in simple ways. For free, and for money. Clue procurement and bullshit detection.

vowe

Contact
Publications
Stuff that works
Amazon Wish List
Frequently Asked Questions

rss feed  twitter

Local time is 16:07

visitors.gif