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

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

    General Discussion
    2
    8
    174
    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
      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
      
      
      jkandasa 2 Replies Last reply Reply Quote 0
      • jkandasa
        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
        • jkandasa
          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
            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

            jkandasa 1 Reply Last reply Reply Quote 0
            • jkandasa
              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
                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" 🙂

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

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

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    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

                    647
                    Users

                    506
                    Topics

                    3.3k
                    Posts

                    Copyright © 2015-2022 MyController.org | Contributors | Localization