sacOO7 / socketcluster-client-java

Native java and android client for socketcluster framework in node.js
http://socketcluster.io/
Apache License 2.0
94 stars 42 forks source link

Working with self signed ceritificate HTTPs #7

Closed bv99 closed 7 years ago

bv99 commented 7 years ago

Hi, greate project you made there, thank you So I get some problem here, can we use self signed sertificate here in this project? Thank you for your help

sacOO7 commented 7 years ago

I think I have documented everything, try following before setting connection to server https://github.com/sacOO7/socketcluster-client-java#handling-ssl-connection-with-server

bv99 commented 7 years ago

Thanks it is works by now, sory I am new in android coding, In case someone need help like me,I managed it to work by implementing context in this https://developer.android.com/training/articles/security-ssl.html#ClientCert to factory.setSSLContext(context); in the link @sacOO7 provide