• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    8 Posts 2 Posters 532 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Clone Tv
      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 2 Replies Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @Clone Tv
        last edited by jkandasa

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

        1 Reply Last reply Reply Quote 0
        • jkandasaJ Offline
          jkandasa @Clone Tv
          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 1 Reply Last reply Reply Quote 0
          • C Offline
            Clone Tv @jkandasa
            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 1 Reply Last reply Reply Quote 0
            • jkandasaJ Offline
              jkandasa @Clone Tv
              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 1 Reply Last reply Reply Quote 0
              • C Offline
                Clone Tv @jkandasa
                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 1 Reply Last reply Reply Quote 0
                • jkandasaJ Offline
                  jkandasa @Clone Tv
                  last edited by

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

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Clone Tv @jkandasa
                    last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    0

                    Online

                    586

                    Users

                    529

                    Topics

                    3.4k

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