mosquitto-users team mailing list archive
-
mosquitto-users team
-
Mailing list archive
-
Message #00461
Re: Mosquitto SSL options for embedded targets
Hi Roger,
You mean that if TLS-PSK is required, there is no other library than OpenSSL that match the needs ?
Thanks.
Remi
De : Mosquitto-users [mailto:mosquitto-users-bounces+remi.salembier=niji.fr@xxxxxxxxxxxxxxxxxxx] De la part de Roger Light
Envoyé : lundi 3 mars 2014 21:43
À : david.reid@xxxxxxxxxxxxxxxxxx
Cc : mosquitto-users@xxxxxxxxxxxxxxxxxxx
Objet : Re: [Mosquitto-users] Mosquitto SSL options for embedded targets
Hi David,
You're not wrong, it only uses openssl at the moment. In theory if you compile without TLS-PSK support it should be quite straightforward to use another SSL library that has an openssl compatibility layer. It's not doing anything particularly unusual. I haven't tried to do it though, so can't promise anything.
Best of luck getting it working!
Cheers,
Roger
On Fri, Feb 28, 2014 at 5:49 PM, David Reid <david.reid@xxxxxxxxxxxxxxxxxx<mailto:david.reid@xxxxxxxxxxxxxxxxxx>> wrote:
All,
Using Mosquitto v1.2.3 along with lwIP v1.4.1 and FreeRTOS v8.0.0 on an ARM Cortex M3. I am trying to add SSL to the mix, and it would seem that Mosquitto is designed for OpenSSL interface only. Am I wrong?
Just wondering if any other users have successfully gotten SSL working with Mosquitto using something else besides OpenSSL? Or if they have OpenSSL with Mosquitto working on a platform similar to mine, what is the resulting compiled output size and the amount of work?
I am using an IAR compiler and my license will let me create up to 256K, but I am seeing reports via Google searches of 1MB output when compiling OpenSSL, which might work on a PC, but definitely not on my target. Should be able to prune that hopefully, have not tried yet. I do not mind switching to a commercial product/license for another SSL library if necessary, provided it will work nicely with Mosquitto.
I am trying to judge the amount of effort and if it is even possible to get SSL on Mosquitto in my M3 project. Anybody else out there done this on a M3? If so, do you mind sharing how, library used, and any other details that you could?
Thanks.
Regards,
Dave
________________________________
[http://static.avast.com/emails/avast-mail-stamp.png]<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus<http://www.avast.com/> protection is active.
--
Mailing list: https://launchpad.net/~mosquitto-users
Post to : mosquitto-users@xxxxxxxxxxxxxxxxxxx<mailto:mosquitto-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~mosquitto-users
More help : https://help.launchpad.net/ListHelp
Follow ups
References