Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Californium and DTLS

Hi Ramon,

leshan needs to be configured with DTLS support during start-up. DTLS support is provided by means of Californium's Scandium component. You can take a look at both Scandium's example code [1] as well as the leshan standalone server code [2] in order to better understand how to configure Scandium support in leshan.

Once leshan is running with Scandium support configured, a client can establish a secure connection by means of DTLS by using the coaps:// URI scheme or by explicitly connecting to the DTLS port on the server.

[1] https://github.com/eclipse/californium.scandium/tree/master/scandium-examples/src/main/java/org/eclipse/californium/scandium/examples
[2] https://github.com/eclipse/leshan/blob/master/leshan-standalone/src/main/java/org/eclipse/leshan/standalone/LeshanStandalone.java

HTH,
Kai

On Tue, Dec 1, 2015 at 3:38 PM Rarsonic Mato Sunyer <pdvr@xxxxxxx> wrote:
Dear Leshan developers,

How can a secure connection via DTLS be established with Leshan? I'm informed this can be done with the appropriate security setting during the registration procedure (as per LWM2M specification), with that said, is a secure connection automatically established if the URI is prefixed with coaps:// ?

Best regards,
Ramon Mato.
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev

Back to the top