Android Question Secure Tcp Ip over internet

lomosami

Member
Licensed User
Hello.
Is there the possibility to use tcp/ip over internet in a secure way using SSL or other method?
I know it is possible using okhhtp but in this case I have to implement a web service.. Is there another way to have secure/encrypt tcp ip connection?

Thanks in advance
 

lomosami

Member
Licensed User
The connection involves an android phone and an embedded board. The board is in a local LAN. Yes I know that is possible to reached the board with the service you described (No-IP Android client). But to connect over internet the 2 device in a secure way is possible to use
socket and serversocket (Network lib) ? If no, how is the best way to do this?
 
Upvote 0

lomosami

Member
Licensed User
Thanks for the reply. It is not a Linux board. It is a board with ESP8266 micro that support SSL protocol.
I think if the board was Linux board the best solution is to use ssh protocol. But in this case what do you suggest to do?

And in another configuration?(configuration n.2) When connection involves two android phone? Have I to implements a webserver and use httpok lib to use secure connection? Or another simpler solution?
Thanks
 
Upvote 0

Erel

Administrator
Staff member
Licensed User
You can use the network library to create SSL sockets. It doesn't matter whether the connection is over the internet or in the local network.

The ESP board will need to be the server.

Have I to implements a webserver and use httpok lib to use secure connection?
This is only possible with B4J (not Android).
 
Upvote 0

lomosami

Member
Licensed User
Thanks Erel for your reply. To use android to android scenario should be very useful to implement ServerSocket with SSL support or create a webserver with SSL communication..
 
Upvote 0
Top