#sailfishos-push log for Sunday, 2016-02-07

tbrI've gotten around to setting up TLS on the mqtt test server. It's available on port 1884. Certificate comes from letsencrypt. If your client complains, try setting hostname to cfp.devaamo.fi (that got randomly chosen as the CN, other hosts are SAN)15:21
tbrI'll have to have a look at updating my python client patch to latest paho15:22
tbrthe current version should do tls too, but doesn't hurt to stay up to date15:22
kimmolitbr: nice15:27
kimmoliatleast changing setting from mqtt-irssi worked15:36
kimmolior not15:39
tbrno, but I have a patch that I can push15:40
tbrand it works15:40
kimmoliok15:43
tbrkimmoli: pushed15:45
kimmolitnx15:45
tbrnp, good that you reminded me that I hadn't pushed this :)15:45
kimmoliöh15:49
kimmolimqtt-test gives me now --usage15:50
kimmoliof something. maybe my mosquitto is out of date15:50
tbroh, then enlarge the window and see what the first line of output says15:58
tbrif it says unknown option, then yes15:58
tbrplease let me know which version of mosquitto and which distro, so that I can make a note in the README15:59
kimmoli--capath is nor recognized as option15:59
kimmoliubuntu 12.04 , seems mosquitto_clients is 0.1516:00
tbroh, yeah, that's seriously old :/16:00
kimmolithat seems to be newest that is packaged for ubuntu16:00
* kimmoli goes afk for 30mins16:01
tbryou could rebuild a newer source package https://launchpad.net/mosquitto/+packages16:01
tbrbeware 1.4 has a dependency on libwebsocket, so you'd need to build that too, but it doesn't pull in more dependencies, at least for me16:02
kimmoliok, now built... Error: A TLS error occurred17:07
tbryaaaay :-/17:23
tbryou can try: openssl s_client -connect 130.83.179.104:188417:24
kimmoliunable to get local issuer certificate17:26
kimmolilots of alternate names17:28
tbrI wonder if your machine doesn't trust letsencrypt or the cross signed authority17:41
kimmolii added lets X117:44
kimmoliscreen -rd17:45
kimmoliäh17:45
kimmoliJust pasted a lot, see here http://pastebin.com/8mQMVSLK17:45
kimmoliwell,. reverted to nonTLS for now17:52
tbrhmm, hard to say17:53
tbrwhich distro is this?17:53
tbrbuntu 12.04?17:53
kimmoliy17:53
tbrk. will check later17:53

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!