Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Establishing Secured MQTT Connection using TLS - Paho C Client

Hi Anas,

It's worth noting that the Paho C client doesn't support TLS-PSK.

To use Paho C without client certificates, you just need to tell it
the CA certificate that it should trust, as used to sign the server
certificates.

Cheers,

Roger


On Tue, May 31, 2016 at 11:00 AM, Mikkel Kirkgaard Nielsen
<miki@xxxxxxxxx> wrote:
> Hi Anas.
>
> On 2016-05-30 10:10, Anas A wrote:
>> I would like to use TLS in my mqtt connection without client certificate
>> based authentication, Am very new to TLS/SSL please suggest.
>
> You would want to take a look at TLS pre-shared key (PSK) using
> Mosquitto's psk_file and psk_hint configuration parameters
> (http://mosquitto.org/man/mosquitto-conf-5.html).
>
> PSK overview at; https://en.wikipedia.org/wiki/TLS-PSK
>
> PSK specification (originally by Nokia) at;
> https://tools.ietf.org/html/rfc4279
>
> Good luck,
> --
> Mikkel
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top