Open GoogleCodeExporter opened 8 years ago
I haven't looked at the code, so I'm just guessing now.
It looks like the connection is done in three steps, first it does DNS
resolution, then connects to the host using the IP directly completely leaving
the hostname behind, and then checks if the certificate matches the initially
configured hostname. This breaks SNI
(http://en.wikipedia.org/wiki/Server_Name_Indication)
Using only the IP, the server responds on the first configured virtual host.
Now I reordered them in the webserver config so the Piwigo vhost is the first
one - and now ReGal client works.
So to sum it, the issue is that the client doesn't work with SNI SSL vhosts
unless the Piwigo vhost is the first configured one.
Original comment by gimpe...@gmail.com
on 13 Jun 2013 at 7:49
This is also reported in Issue 7 in Github :
https://github.com/anthonydahanne/ReGalAndroid/issues/7
Original comment by gene_w...@cementhorizon.com
on 23 Feb 2015 at 7:16
Original issue reported on code.google.com by
gimpe...@gmail.com
on 12 Jun 2013 at 7:14