wanted to clear that do I need to do anything chown ? because I’ve not done it… if yes How can I do>
It looks like you missed changing your configuration. You have this:
listener 8883
certfile /root/cedalo_platform/mosquitto/config/certificates/chain.pem
keyfile /root/cedalo_platform/mosquitto/config/certificates/cert.pem
Instead of this:
Note the fullchain
instead of chain
as well.
oops My bad…
Thank you so much Roger for helping me out. I got connected with SSL.
one more thing I notice is that I’m getting error on console like this. what is that about? will this cause in future?
I thing my cedalo Management is trying to connect this broker. Because I’m not able to connect management with broker.
1623334540: New connection from 172.18.0.3:40472 on port 8883.,
1623334540: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334540: Client <unknown> disconnected: Protocol error.,
1623334541: New connection from 172.18.0.3:40474 on port 8883.,
1623334541: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334541: Client <unknown> disconnected: Protocol error.,
1623334542: New connection from 172.18.0.3:40476 on port 8883.,
1623334542: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334542: Client <unknown> disconnected: Protocol error.,
1623334543: New connection from 172.18.0.3:40478 on port 8883.,
1623334543: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334543: Client <unknown> disconnected: Protocol error.,
1623334544: New connection from 172.18.0.3:40480 on port 8883.,
1623334544: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334544: Client <unknown> disconnected: Protocol error.,
1623334545: New connection from 172.18.0.3:40482 on port 8883.,
1623334545: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334545: Client <unknown> disconnected: Protocol error.,
1623334546: New connection from 172.18.0.3:40484 on port 8883.,
1623334546: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334546: Client <unknown> disconnected: Protocol error.,
1623334547: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334548: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334549: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334550: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334551: New connection from 172.18.0.3:40494 on port 8883.,
1623334551: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334551: Client <unknown> disconnected: Protocol error.,
1623334552: New connection from 172.18.0.3:40496 on port 8883.,
1623334552: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334552: Client <unknown> disconnected: Protocol error.,
1623334553: New connection from 172.18.0.3:40498 on port 8883.,
1623334553: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334553: Client <unknown> disconnected: Protocol error.,
1623334554: New connection from 172.18.0.3:40500 on port 8883.,
1623334554: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334554: Client <unknown> disconnected: Protocol error.,
1623334555: New connection from 172.18.0.3:40502 on port 8883.,
1623334555: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334555: Client <unknown> disconnected: Protocol error.,
1623334556: New connection from 172.18.0.3:40504 on port 8883.,
1623334556: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334556: Client <unknown> disconnected: Protocol error.,
1623334557: New connection from 172.18.0.3:40506 on port 8883.,
1623334557: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334557: Client <unknown> disconnected: Protocol error.,
1623334558: New connection from 172.18.0.3:40508 on port 8883.,
1623334558: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334558: Client <unknown> disconnected: Protocol error.,
1623334559: New connection from 172.18.0.3:40510 on port 8883.,
1623334559: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334559: Client <unknown> disconnected: Protocol error.,
1623334560: New connection from 172.18.0.3:40512 on port 8883.,
1623334560: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334560: Client <unknown> disconnected: Protocol error.,
1623334561: New connection from 172.18.0.3:40514 on port 8883.,
1623334561: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334561: Client <unknown> disconnected: Protocol error.,
1623334562: New connection from 172.18.0.3:40516 on port 8883.,
1623334562: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334562: Client <unknown> disconnected: Protocol error.,
1623334563: New connection from 172.18.0.3:40518 on port 8883.,
1623334563: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334563: Client <unknown> disconnected: Protocol error.,
1623334564: New connection from 172.18.0.3:40520 on port 8883.,
1623334564: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334564: Client <unknown> disconnected: Protocol error.,
1623334565: New connection from 172.18.0.3:40522 on port 8883.,
1623334565: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334565: Client <unknown> disconnected: Protocol error.,
1623334566: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334567: New connection from 172.18.0.3:40526 on port 8883.,
1623334567: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334567: Client <unknown> disconnected: Protocol error.,
1623334568: New connection from 172.18.0.3:40528 on port 8883.,
1623334568: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334568: Client <unknown> disconnected: Protocol error.,
1623334569: New connection from 172.18.0.3:40530 on port 8883.,
1623334569: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334569: Client <unknown> disconnected: Protocol error.,
1623334570: New connection from 172.18.0.3:40532 on port 8883.,
1623334570: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334570: Client <unknown> disconnected: Protocol error.,
1623334571: New connection from 172.18.0.3:40534 on port 8883.,
1623334571: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334571: Client <unknown> disconnected: Protocol error.,
1623334572: New connection from 172.18.0.3:40536 on port 8883.,
1623334572: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334572: Client <unknown> disconnected: Protocol error.,
1623334573: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334574: New connection from 172.18.0.3:40540 on port 8883.,
1623334574: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334574: Client <unknown> disconnected: Protocol error.,
1623334575: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334576: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334577: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
1623334578: New connection from 172.18.0.3:40548 on port 8883.,
1623334578: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number,
1623334578: Client <unknown> disconnected: Protocol error.,
1623334579: Client connection from 172.18.0.3 failed: error:1408F10B:SSL routines:ssl3_get_record:wrong version number.,
Great, I’m glad you’ve got it working.
This almost certainly means you have a client trying to connect to port 8883 that is not using TLS.
Can you help me on that… I tried SSL v1 to V3 and TLS V1 to V3 from Mqtt.fx, Same problem
also I want websocket so how can i add that?
I tried to put port for websocket
and
CEDALO_MC_BROKER_URL: mqtts://mydomain.com:8883
not able to connect.
In your configuration you will need a websockets listener:
listener 9000
protocol websockets
I do not believe that your mqtt.fx connection is using TLS. Try mosquitto_sub instead: mosquitto_sub -h <your host> -p 8883 -t '$SYS/# -v
Thank you Roger. It is running now. I accidently put client id in management platform. so without that client id it will not connect. so now I left it blank.
and one more thing can I give my certificate for management platform so it can be secure??
again Thank you so much roger.
Sorry I forgot to reply to the last part - the management centre doesn’t support certificates at the moment. You could raise this as an issue at Issues · cedalo/management-center · GitHub if you like.