-
Notifications
You must be signed in to change notification settings - Fork 410
Added support for device certificate chain in leshan-lwm2m-client module #1708
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
base: master
Are you sure you want to change the base?
Added support for device certificate chain in leshan-lwm2m-client module #1708
Conversation
Thx for the PR. |
I pushed some more code to limit usage of DER encoding by default. I will probably add some more commit to clean old code following sonar advice (I prefer to do that separately to keep commit readable). Maybe out of scope of that PR :
I will be out of office next week back Tuesday 21th. |
1cb21cd
to
6c7095d
Compare
leshan-lwm2m-bsserver/src/main/java/org/eclipse/leshan/bsserver/ConfigurationChecker.java
Show resolved
Hide resolved
...n-lwm2m-bsserver/src/main/java/org/eclipse/leshan/bsserver/LeshanBootstrapServerBuilder.java
Outdated
Show resolved
Hide resolved
I did :
For that ones, I will do that in another PR :
@jakubsobolewskisag, if you want you can review this PR and test if that solves your issue. |
(ignore the legal agreements issue, I suspect that eclipse infra is partially down) |
@jakubsobolewskisag finally I also did :
in this PR. Note that for first point, I slip ServersInfoExtractor in an interface + default implementation and a static class ObjectTreeReader. (better seperation of concerns) I don't touch anything more until I get you feeback 🙂 |
@sbernard31 Thank you! I will check that next week, since I'm on PTO now ;) |
Also-by: Simon Bernard <code@simonbernard.eu>
7e43111
to
be2343c
Compare
|
(Please note that I will be unavailable for most of the month, so replies may be delayed 😅 ) |
PR Description
LwM2m 1.2 specification allows devices to send/use X.509 certificate chains in the Security object and therefore in communication with LwM2m servers (and bootstrap servers). To prepare for this, Leshan client library can already use certificate chains in a backwards-compatible way. This change allows client implementations to use certificate chains.