Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-18 Thread Mathias Lin
I removed -repackageclasses and -allowaccessmodification, but no difference - getting the same error. On Friday, 18 November 2011 13:20:21 UTC+8, Nikolay Elenkov wrote: On Fri, Nov 18, 2011 at 2:05 PM, Mathias Lin ma...@mathiaslin.com wrote: In an Android app, I fetch content from a https

Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-18 Thread Carlos A. M. dos Santos
On Fri, Nov 18, 2011 at 3:05 AM, Mathias Lin m...@mathiaslin.com wrote: In an Android app, I fetch content from a https url; in order to avoid SSL cert verification errors, I add the SSL public key to my keystore, which then resides in my res/raw folder of the app. Following the instructions as

Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-18 Thread Mathias Lin
This is the complete stacktrace: 11-18 17:17:39.403: ERROR/Login(7025): Could not login. javax.net.ssl.SSLException: hostname in certificate didn't match: store.mydomain.com/185.165.192.15 != store.mydomain.com OR store.mydomain.com at a.a.a.c.d.a.a(AbstractVerifier.java:228)

Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-18 Thread Mathias Lin
I was using the latest httpclient 4.1.2. Now when I switch back to 4.1.1, the problem is gone. Also see: http://comments.gmane.org/gmane.comp.apache.httpclient.user/262 On Friday, 18 November 2011 17:21:15 UTC+8, Mathias Lin wrote: This is the complete stacktrace: 11-18 17:17:39.403:

[android-developers] Proguard causes problems with SSL keystore on Android

2011-11-17 Thread Mathias Lin
In an Android app, I fetch content from a https url; in order to avoid SSL cert verification errors, I add the SSL public key to my keystore, which then resides in my res/raw folder of the app. Following the instructions as on

Re: [android-developers] Proguard causes problems with SSL keystore on Android

2011-11-17 Thread Nikolay Elenkov
On Fri, Nov 18, 2011 at 2:05 PM, Mathias Lin m...@mathiaslin.com wrote: In an Android app, I fetch content from a https url; in order to avoid SSL cert verification errors, I add the SSL public key to my keystore, which then resides in my res/raw folder of the app. Following the instructions as