• header.categories
    • header.recent
    • header.tags
    • header.popular
    • register
    • login

    how to change the built-in MQTT broker to use SSL?

    scheduled pinned locked moved General Discussion
    8 posts 2 posters 1.5k views 1 watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • C offline
      Clone Tv
      global:last-edited-by, Clone Tv

      The various options for moquette described in the myController configuration do not change its initialization..

      example:

      mcc.mqtt.broker.sslEnabled=true
      mcc.mqtt.broker.mqttPort=1883
      mcc.mqtt.broker.mqttsPort=8883
      mcc.mqtt.broker.websocketPort=7080
      mcc.mqtt.broker.allowAnonymous=false
      mcc.mqtt.broker.enabledOnBackend=true
      mcc.mqtt.broker.sslKeystoreFile=../conf/homediy.jks
      
      
      jkandasaJ topic:replies-to-this-post, 2 last-reply-time reply quote 0
      • jkandasaJ offline
        jkandasa @Clone Tv
        global:last-edited-by, jkandasa

        @Clone-Tv you have to restart the MyController service. if yo change anything on the mycontroller.properties.
        Did you?

        one-reply-to-this-post last-reply-time reply quote 0
        • jkandasaJ offline
          jkandasa @Clone Tv
          global:last-edited-by,

          @Clone-Tv Sorry, ignore my last post.
          From where did you get these SSL configurations?
          I do not see anywhere that inbuilt broker SSL support

          C one-reply-to-this-post last-reply-time reply quote 0
          • C offline
            Clone Tv @jkandasa
            global:last-edited-by,

            @jkandasa
            This: https://moquette-io.github.io/moquette/documentation.html#_ssl_configuration
            https://github.com/moquette-io/moquette/issues/499
            http://codewr.com/view/Moquette/install-mqtts-with-moquette-ssl

            jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
            • jkandasaJ offline
              jkandasa @Clone Tv
              global:last-edited-by,

              @Clone-Tv Those options not implemented in MyController server. you cannot enable SSL in built-in MQTT broker.

              Workaround: setup an external broker. mosquitto is a lightweight broker.

              C one-reply-to-this-post last-reply-time reply quote 0
              • C offline
                Clone Tv @jkandasa
                global:last-edited-by,

                @jkandasa
                Thanks for the answer, there is hope to expect the implementation of these commands in MyController, at least at the level of the configuration file? It shouldn't be that hard to do, and declare the options "experimental" 🙂

                jkandasaJ one-reply-to-this-post last-reply-time reply quote 0
                • jkandasaJ offline
                  jkandasa @Clone Tv
                  global:last-edited-by,

                  @Clone-Tv Sure, I will check and report back.

                  C one-reply-to-this-post last-reply-time reply quote 0
                  • C offline
                    Clone Tv @jkandasa
                    global:last-edited-by,

                    @jkandasa
                    Thank you very much, I will look forward to it 👍

                    one-reply-to-this-post last-reply-time reply quote 0
                    • first-post
                      last-post

                    0

                    online

                    644

                    users

                    532

                    topics

                    3.4k

                    posts
                    Copyright © 2015-2025 MyController.org | Contributors | Localization