Answer the question
In order to leave comments, you need to log in
How to create an SSL socket on android?
There is a task to transfer data over SSL with a self-signed certificate, i.e. on the android side there are 3 files: CA.pem, client.pem and client.key. Having tried several options found on stackoverflow, I still couldn’t create an ssl connection, more precisely, the socket was created, but when I tried to get a session I got null, but I didn’t catch any exceptions.
Answer the question
In order to leave comments, you need to log in
Here is an example:
https://www.datenzone.de/blog/2012/01/using-ssltls...
If something doesn't work, give details. With source code.
Have you tried connecting through a browser with this certificate?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question