Skip to content
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

CoAP/DTLS and X.509? #36

Open
nilstk opened this issue Jul 12, 2021 · 1 comment
Open

CoAP/DTLS and X.509? #36

nilstk opened this issue Jul 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@nilstk
Copy link

nilstk commented Jul 12, 2021

Hi there,

https://datatracker.ietf.org/doc/html/rfc7252#section-9.1.3.3

with regard to the above RFC, I was wondering if there are plans to support X.509 in the near future? Is there any draft code available maybe?

@nilstk nilstk changed the title DTLS and X.509? CoAP/DTLS and X.509? Jul 12, 2021
@barbibulle
Copy link
Contributor

Hi.
We don't have short term plans for supporting X.509 with DTLS. The two main reasons are that: 1/ the typical use of the framework between a phone and an IoT device involves both sides using IP addresses rather than DNS-resolvable names, and that it isn't common to use X.509 certificates for IP addresses, 2/ X.509 chains and DTLS are not necessarily easy to support, because of the size of the cert chain, combined with small datagram sizes; the cert chain has to be split in multiple messages, which I'm not sure if mbedtls supports yet (it didn't when we first looked at it). But if you have experience with mbedtls and are willing to look at how this could be supported, we'd be happy to help you investigate that.

@barbibulle barbibulle added the enhancement New feature or request label Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants