Skip to main content

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

Thanks, Kai.

The first example you link shows how does the server establish its security, but I'd like to know better how does the client do it.

Best regards,
Ramon Mato.


From: sophokles.kh@xxxxxxxxx
Date: Mon, 7 Dec 2015 13:43:01 +0000
To: leshan-dev@xxxxxxxxxxx
Subject: 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.


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

_______________________________________________ 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