sockets - SSL Client on Android -


I am currently writing a client part of a server using Android (2.2) and SSL. I managed to exchange messages between servers and a normal client, but Android is not very happy about self-signed certifications. I searched Staxahovarflow and Googled A are many and many people have similar problems. The answer I have received so far was either not working or had no meaning. Most code samples are for HTTPS, but I can not use it because I want to communicate through the socket (SSLSocket is my best guess). I have tried many different codes, but now I am at zero again.

So far I have felt that I have to make a certificate (I think I am right) and a custom TrustManager. Obviously, I can not find any working code, so I ask here, because there really are some helpful helpers.

I am looking for a detailed description of what should be

thanks in advance

I've done it with the porting of the native Android browser I just made the changed SSL reference. I promised that I would also give some work examples on the Sandroee site ... ...)



Comments