Advertisement
haydster7

MQTT mosquitto log with SSL

Dec 16th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. MQTT Client was connected successfully using SSL, I tested the tasker action and publish/subscribe was working as expected.
  2.  
  3. Actions performed beyond this point are noted with *task*
  4.  
  5. *Force stopped app*
  6. 1513469917: Socket error on client PixelXL-Tasker-Mqtt-20171214, disconnecting.
  7.  
  8. *Manually started MQTT Client app. Status shows as "Reconnecting to ssl://<anonymized for confidentiality>:8883"*
  9.  
  10. 1513470018: New connection from 192.168.1.1 on port 8883.
  11. 1513470018: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  12. 1513470018: Socket error on client <unknown>, disconnecting.
  13.  
  14. 1513470019: New connection from 192.168.1.1 on port 8883.
  15. 1513470019: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  16. 1513470019: Socket error on client <unknown>, disconnecting.
  17.  
  18. 1513470021: New connection from 192.168.1.1 on port 8883.
  19. 1513470021: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  20. 1513470021: Socket error on client <unknown>, disconnecting.
  21.  
  22. 1513470025: New connection from 192.168.1.1 on port 8883.
  23. 1513470025: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  24. 1513470025: Socket error on client <unknown>, disconnecting.
  25.  
  26. 1513470033: New connection from 192.168.1.1 on port 8883.
  27. 1513470033: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  28. 1513470033: Socket error on client <unknown>, disconnecting.
  29.  
  30. 1513470050: New connection from 192.168.1.1 on port 8883.
  31. 1513470050: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  32. 1513470050: Socket error on client <unknown>, disconnecting.
  33.  
  34. 1513470082: New connection from 192.168.1.1 on port 8883.
  35. 1513470082: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  36. 1513470082: Socket error on client <unknown>, disconnecting.
  37.  
  38. 1513470146: New connection from 192.168.1.1 on port 8883.
  39. 1513470146: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  40. 1513470146: Socket error on client <unknown>, disconnecting.
  41.  
  42. 1513470274: New connection from 192.168.1.1 on port 8883.
  43. 1513470274: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  44. 1513470274: Socket error on client <unknown>, disconnecting.
  45.  
  46.  
  47. 1513470412: New connection from 192.168.1.1 on port 8883.
  48.  
  49. <Interesting note here. In each block of 3 errors, only the first message "new connection" shows up in the log at it's actual epoch time. The other two messages "SSL Error" and "Socket error" only appear in the log once the next line is logged (e.g. next reconnect).>
  50.  
  51. 1513470412: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  52. 1513470412: Socket error on client <unknown>, disconnecting.
  53.  
  54.  
  55. 1513470540: New connection from 192.168.1.1 on port 8883.
  56.  
  57.  
  58. *Went into broker settings, did not change anything, pressed the save button*
  59. 1513470540: OpenSSL Error: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
  60. 1513470540: Socket error on client <unknown>, disconnecting.
  61. 1513470630: New connection from 192.168.1.1 on port 8883.
  62. 1513470630: New client connected from 192.168.1.1 as PixelXL-Tasker-Mqtt-20171214 (c1, k20, u'<anonymized for confidentiality>').
  63.  
  64.  
  65. <This is where the client was successfully reconnected, the tasker action worked when trying to change a switch state. Status in MQTT Client now showing as "Connected to ssl://<anonymized for confidentiality>:8883">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement