-
-
Notifications
You must be signed in to change notification settings - Fork 156
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 #115
Comments
With my Understanding |
Hi thanks for the repy. I saw some info on that isn't DTLS not available in Node JS though meaning you can't make secure calls with this or have I read wrong. |
CoAP runs over UDP, but there is some effort in porting it to TCP and TLS. DTLS (tls for udp), is not currently supported in core, even though there is a js-only thing that we might integrate. I am fine if anyone would like to implement https://tools.ietf.org/html/draft-tschofenig-core-coap-tcp-tls-04, or any follow up on that, I will be more than happy to give them the commit bit and the lead maintainer role on this project. |
Yes I saw that just wanted confirmation that it wasn't possible. |
Duplicate of #11 |
5 year later I was looking for this solution and found my own post :D Has DTLS not been added yet ? |
Not yet, unfortunately :/ (see #253). However, there is now at least one package for DTLS which should make it possible to finally add this feature. I will surely have a look into it soon :) |
No worries will check it out thanks for the reply. |
You're welcome :) There is another CoAP implementation which already has support for DTLS which you could try out in the meantime: https://github.com/AlCalzone/node-coap-client As its name suggests it only has client support, however. |
I found this also which is based on your project, it has a DTLS server also: https://github.com/neustar/node-coap-dtls not sure if the server is fully functioning yet, it says in the README not but will check it out |
Ah, very cool, though :) Maybe it is possible to introduce some of the code in this repo as well // CC @jspark311 |
@JKRhb Oh, wow. I forgot this repo existed. I haven't worked for Neustar since 2018. I no longer have any control over that repo. :-( |
Is it possible to set a CoAP server with SSL or TLS for secure communication?
The text was updated successfully, but these errors were encountered: