Android Question No peer certificate

wimpie3

Well-Known Member
Licensed User
Longtime User
I'm using httpjob.poststring to post a form to my server using HTTPS. This results in a "no peer certificate" error on Android 2.3. Date & time are correct on the handset. There are no certificate errors when posting the form through Chrome or Internet Explorer on a PC. Any idea on where to look?
 

wimpie3

Well-Known Member
Licensed User
Longtime User
Accepting all certificates is not a good idea, this exposes your app to man-in-the-middle attacks.

This was a pain in the a** to find, but the right solution is to install the INTERMEDIATE and ROOT certificates from my certificate provider on the server besides the server certificate. Older Android versions absolutely need those.
 
Upvote 0
Top