MoMaR5 / regalandroid

Automatically exported from code.google.com/p/regalandroid
0 stars 0 forks source link

No connection over https with self signed certificates on webserver #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
On which type of gallery your problem occurred ? (G2, G3, Piwigo ?)

G3

What version of regalandroid are you using? On what Android versions?

Latest version on Android 4.1.2

Can you provide your gallery url so that a developer can reproduce the
issue ? do we need to login ? in which album the problem occurred ?

It's an intranet server with a self created certificate for https.

What steps will reproduce the problem?
1. Just set up a webserver with a self created certificate
2. Use https for gallery3
3. Try to connect. Thats it.

What do you see instead?

A problem occurred ...
net.dahanne.gallery3.client.business.exceptions.G3GalleryException: No peer 
certificate

What is the expected output?

It's not an official certificate so either ReGalAndroid should ask to connect 
even though or better to accept this certificate from now on.

Original issue reported on code.google.com by s...@gmx.net on 20 Nov 2013 at 9:49

GoogleCodeExporter commented 8 years ago
Same here with piwigo hosted on a public facing no-ip.org (dynamic DNS) host.
I can give you the URL in a PM if that makes testing easier.

Original comment by agros...@gmail.com on 23 Mar 2014 at 7:15

GoogleCodeExporter commented 8 years ago
found this:

http://stackoverflow.com/questions/16719959/android-ssl-httpget-no-peer-certific
ate-error-or-connection-closed-by-peer-e

Original comment by agros...@gmail.com on 23 Mar 2014 at 7:20

GoogleCodeExporter commented 8 years ago
another:

http://stackoverflow.com/questions/7229929/ignore-ssl-errors-in-defaulthttpclien
t

Original comment by agros...@gmail.com on 23 Mar 2014 at 10:47

GoogleCodeExporter commented 8 years ago
also filed a bug upstream:

http://piwigo.org/bugs/view.php?id=3059

Original comment by agros...@gmail.com on 23 Mar 2014 at 10:47