• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • 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 706 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 9 Apr 2020, 16:54 4 Sept 2020, 11:17

    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
    
    
    J 2 Replies Last reply 4 Sept 2020, 11:51 Reply Quote 0
    • J Offline
      jkandasa @Clone Tv
      last edited by jkandasa 9 Apr 2020, 17:29 4 Sept 2020, 11:51

      @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
      • J Offline
        jkandasa @Clone Tv
        last edited by 4 Sept 2020, 11:58

        @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 4 Sept 2020, 16:10 Reply Quote 0
        • C Offline
          Clone Tv @jkandasa
          last edited by 4 Sept 2020, 16:10

          @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

          J 1 Reply Last reply 4 Sept 2020, 18:23 Reply Quote 0
          • J Offline
            jkandasa @Clone Tv
            last edited by 4 Sept 2020, 18:23

            @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 4 Sept 2020, 18:28 Reply Quote 0
            • C Offline
              Clone Tv @jkandasa
              last edited by 4 Sept 2020, 18:28

              @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" 🙂

              J 1 Reply Last reply 5 Sept 2020, 05:45 Reply Quote 0
              • J Offline
                jkandasa @Clone Tv
                last edited by 5 Sept 2020, 05:45

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

                C 1 Reply Last reply 5 Sept 2020, 08:18 Reply Quote 0
                • C Offline
                  Clone Tv @jkandasa
                  last edited by 5 Sept 2020, 08:18

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

                  1 Reply Last reply Reply Quote 0
                  6 out of 8
                  • First post
                    6/8
                    Last post

                  0

                  Online

                  619

                  Users

                  531

                  Topics

                  3.4k

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