-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL/TLS support #38
Comments
@Overtorment, thanks for your feature request. SSL was not planned originally, but I will take a closer look. I might have to investigate about CocoaAsyncSockets known bugs with SSL. I will update you with any news about this topic. |
If this helps, I'm currently using https://github.com/wfilleman/react-native-tcp in production which has TLS for both ios and android, but I don't feel confident in this package. So I'm having hopes for this package to maybe be a superior one 🙏 |
Thanks for the reference, it helps a lot. I will take a look at their implementation and perform some tests. I'll update ASAP with more information. |
Thanks!
…On Mon, 6 Apr 2020 at 13:53, Rodrigo Martin ***@***.***> wrote:
Thanks for the reference, it helps a lot. I will take a look at their
implementation and perform some tests.
I'll update ASAP with more information.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOTD6PYFQ6UPPD3ZYBXENLRLHGE5ANCNFSM4MBEIYGQ>
.
|
@Overtorment, I have created a development branch for the SSL/TLS support. If you want to check it out, you can add it to your project with the following command:
|
Is there a way to just ignore certificate check? We have a use case of users connecting to their own servers with self-signed certificates, so we don't know them in advance |
This comment has been minimized.
This comment has been minimized.
@Overtorment, there is a way to ignore all certificate checks: you must set Right now, Android and iOS TCP clients are TLS/SSL compatible. Can you test it in your project and report the problems you find? If there are no issues, I will release a new version with the client SSL/TLS support. |
Will do! |
success. tested tls/android. didn't test clearnet tcp and ios.
PS. cant test IOS atm |
@Overtorment, glad to hear it worked! I am sorry about those issues. The methods The All the available interface is in the documentation. If you have any questions, feel free to open an issue. I hope this library is good enough to suit your project! PS: I will change the |
I think those methods you just need to proxy-call socket object on native system, you don’t need to implement anything. So are you keeping lib api as is? Just to make sure, if it stays like this - it stays, that’s fine, just to know there won’t be any breaking changes :-) |
There won't be any breaking changes. I will release the new version in 5 minutes. About the methods |
🎉 This issue has been resolved in version 3.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Can u please help me in this. I am trying to create Android TV Remote for IOS. Like I wan to mimic node(tls.connect) using react native. I need to implement a tls connection with Android TV from IOS device to send Remote Commands. When I send below from IOS device with tls true it throws error When I send below with no tls key from IOS device it makes connection but data returned from Android TV is not in proper format. So I was thinking this is because tls is false in below case. Can u please help me in this. How to make a tls connection in React Nativ from IOS. Any help would be really helpful. |
@piyush2cloud, if you have a problem, you should create a new issue. However, you could check nodeJS examples or seek help in stackoverflow for this kind of questions. |
Hi how do i pass private key in client tls do you know how ? |
No description provided.
The text was updated successfully, but these errors were encountered: